• Resolved sabeehms

    (@sabeehms)


    Hello,
    I have used the media grid to show my video portfolio. The images are not very high resolution, they are just thumbnails for my videos which show in lightbox.

    As you can see here (https://www.mainfilm.tv/1593156846095/wp-content/uploads/2020/09/aasd2.png), my images overlap in some rows, some rows show properly and some show overlapped.

    I saw a similar article in which you suggested to add this code after the widget,

    <script>
    jQuery(document).ready(function($){
    $(window).on(“elementor/frontend/init”, function() {
    var PremiumMediaGrid = function($scope) {
    var $elem = $scope.find(“.premium-gallery-container”);

    setTimeout(function(){
    $elem.isotope(‘layout’);
    }, 200);
    }
    elementorFrontend.hooks.addAction(
    “frontend/element_ready/premium-img-gallery.default”,
    PremiumMediaGrid
    );
    });
    });
    </script>

    Apparently did not work for me. Any help would be appreciated.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sabeehms

    (@sabeehms)

    It only happens when i enable wp-rocket. I guess some minify or caching does this. Is there anyway to stop this from happning.

    Hi @sabeehms,

    Hope you’re having a great day ??

    I believe the issue is coming from lazyloading option, so all you need to do is disable it for your page. Here’s a screenshot for more clarification.

    Please don’t hesitate to feed me back if you still need any further assistance.

    Regards

    Thread Starter sabeehms

    (@sabeehms)

    Hi @leap13support
    Thankyou soo much. Works perfectly now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Media Grid Images Overlapping’ is closed to new replies.