Answer the question
In order to leave comments, you need to log in
2 masonry grid in safari overlaid on 1?
2 masonry grid in safari overlaps the first one, how to fix?
var $grid = $('.grid');
$grid.imagesLoaded(function() {
$grid.masonry({
columnWidth: '.product',
itemSelector: '.product-one-column,.product-two-column',
gutter: 7
});
});
var $grid_popular = $('.grid-popular');
$grid_popular.imagesLoaded(function() {
$grid_popular.masonry({
columnWidth: '.product',
itemSelector: '.product-one-column,.product-two-column',
gutter: 7,
percentPosition: true
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question