Reply 317061 to: when xstore customizer-> Products Masonry enabled

Avatar: Rose Tyler
Rose Tyler
Support staff
February 14, 2022 at 10:33

Hello,

Try to add the next code here – https://prnt.sc/1qxxryo

reInitIsotope();
function reInitIsotope() {
$('.et-isotope').isotope('destroy');
var $isotope = $('.et-isotope');

$isotope.each(function () {

    var $grid;
    $grid = $(this).isotope({
        itemSelector: '.et-isotope-item',
        isOriginLeft: !etConfig.layoutSettings.is_rtl,
        masonry: {
            columnWidth: '.grid-sizer'
        }
    });

    // layout Isotope after each image loads
    $grid.imagesLoaded().progress( function() {
        $grid.isotope('layout');
    });

});
}

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.