PDA

View Full Version : Masonry Overlapping Images



makamo66
01-23-2016, 06:55 PM
When I view my Web page with masonry installed, the images overlap each other instead of displaying on top of each other. I can't post the HTML because it's too long but I can post the link to my Web site: http://204.232.239.137/shop-kitchen.html

makamo66
01-24-2016, 08:17 PM
I fixed it with this:


<script>

var $container = $('.grid');

$container.imagesLoaded(function(){
$container.masonry({
itemSelector: '.isotope-item',
animate: true,
columnWidth: 220,
isFitWidth: true,
gutterWidth: 12
});
});

</script>