Infinite Scroll/Masonry overlapping issue
-
Hi,
I’m experiencing overlapping when using the Masonry feature in the Infinite Scroll plugin.
I’ve entered the following code into the Callback field of the plugin settings page:
var $newElems = $( newElements ).css({ opacity: 0 }); $newElems.imagesLoaded(function(){ $newElems.animate({ opacity: 1 }); $('#masonry-container').masonry( 'appended', $newElems, true ); });
And this is the code I use in my scripts.js file to initiate Masonry when the document has loaded:
function masonry(){ var $container = $('#masonry-container'); $container.imagesLoaded( function() { $container.masonry({ itemSelector: '.box' }); }); }
Lastly, here is a link to a page that shows where it is breaking: https://79.170.44.118/pr-2015.com/galerie/2010/
Thanks in advance for your help!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Infinite Scroll/Masonry overlapping issue’ is closed to new replies.