Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Masonry not working >.< Re: Masonry not working >.<

#103547
chrisburton
Participant

@Odd_E “have you tried putting the scripts at the bottom, right before the body tag?”

There may be a conflict, then. I’m not sure. It seems like it’s related to your CSS because the top one tries to animate.

I just recently had an issue with my images using Masonry.js and the following code worked.

var $container = $('#content');
$container.imagesLoaded(function(){
$container.masonry({
itemSelector : '#posts',
isFitWidth: true,
isAnimated: true
});
});