Skip to content Skip to sidebar Skip to footer

Issue With Responsive Masonry Layout

I am using Masonry for the layout of my website, everything works fine, but there is an issue with a responsiveness. At the moment all elements are set to a width of 31.8% (also ha

Solution 1:

Try setting the width in Masonry too:

$('.grid').masonry({
  itemSelector: '.content-box',
  columnWidth: function(width) {
    return width * (31.8 / 100);
  }
});

Post a Comment for "Issue With Responsive Masonry Layout"