Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #446676

    Hello!

    I am having an issue with my child enfold theme. I have two masonry galleries on the homepage. The first one works great, but the second one is not visible on page load. What’s strange is then when I either resize browser window, quickly scroll down on load or open inspect element in chrome, the second gallery is visible.

    I’ve tried a bunch of css tweaks but nothing seems to work! any help would be greatly appreciated!

    #447195

    I too have this issue. If adding more than one masonry gallery to a page, only the first one shows.
    I tried adding ID’s to each one to no avail.

    #447199

    Hi!

    Which browser and OS are you using? I checked your website and it did load both elements on initial load on my end.

    Cheers!
    Yigit

    #447206

    It’s working now I’ve removed pagination from the first gallery. I was viewing page 2 or 3 of 3 and that seemed to prevent the other galleries showing.

    #447209

    Hi Yigit,

    Thanks for the reply! I ended up adding the CSS class .av-masonry .av-js-disabled a {visibility: visible!important; opacity: 1!important;} as a temp fix. But it does a strange thing where it loads and then loads again. IF you’d like I can remove that class so you can see the problem.

    Seems like what is happening is the second gallery just doesn’t remove the av-js-disabled class

    #447895

    Hey!

    hm right now it’s showing fine for me:

    But maybe it’s because of you custom CSS. Please provide us admin access so we can take a deeper look into the issue. Post login details here as private reply. Deactivate all plugins to check if one is causing this issue and let us know if this helps.

    Cheers!
    Andy

    #447917
    This reply has been marked as private.
    #448934

    Hi!

    The masonry section shows fine on first load. Try to add this at the very end of the functions.php file:

    function add_custom_script(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	$(this).trigger('resize');
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Remove browser cache then reload the page.

    Best regards,
    Ismael

    #619350

    I am having the same issue with my sites. In the past few days, the Masonry galleries are all blank. Have changed pagination issues, disabled caching, etc…nothing works.

    #619366

    Hi!

    Have you tried Ismaels solution?
    Please do create a different ticket, with your credentials, so we can assist you as fast as possible.

    Best regards,
    Basilis

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.