Hi there,
It’s not working, I also tried adding this and it’s not working, but this works okay on my installation.
jQuery(document).ready(function($) {
$('.search-results .x-main').wrapInner('<div id="x-iso-container" class="x-iso-container x-iso-container-posts cols-3 isotope">');
var $container = $('.search-results #x-iso-container');
$container.before('<span id="x-isotope-loading"><span>');
$(window).on('load', function() {
$container.xIsotope({
itemSelector : '.search-results .x-iso-container > article',
resizable : true,
filter : '*',
containerStyle : {
overflow : 'hidden',
position : 'relative'
}
});
$('.search-results #x-isotope-loading').stop(true,true).fadeOut(300);
$('.search-results #x-iso-container > article').each(function(i) {
$(this).delay(i * 150).animate({'opacity' : 1}, 500);
});
});
$(window).xsmartresize(function() {
$container.xIsotope({ });
});
});
The thing is there is existing customization in your search result to mimic the masonry layout, maybe it’s the conflicting one. But I can’t find it, the reason is that your X them version doesn’t match with the cornerstone version you have. Could you try updating your X theme to the very latest, then delete you existing cornerstone (1.3.3) and let the theme install it? I could do that but given that you have existing customization, then please backup your site first.
Thanks!