Prevent Isotope divs from overlapping

Use the images loaded plugin with Isotope.

Register it like this in your js file:

var $container = $('#container').imagesLoaded( function() {
  $container.isotope({
    // options
	 itemSelector: '.item',
		  masonry: {
			gutter: 15
			}
  });
});

 

Leave a Reply

Your email address will not be published. Required fields are marked *

− 3 = 5