• Hi, I have a problem with this plugin.
    When I enter into my gallery page through the menu, the images are not loaded and only the loader is displayed. But when I enter through the direction bar there are no problems.
    The problem is that people enter through the menu.
    I read a forum where you gave a css code to hide the loader, but when I apply it, the gallery does not look like masonry and it just shows me the images down.
    Do you know what the problem could be and how to solve it?
    Thank you very much!

    • This topic was modified 6 years, 7 months ago by codoestudio.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Kerry

    (@bluenotes)

    Looks like it’s having a difficult time with the ajax page transition and the window load function. Basically, The masonry begins after the page has finished loading. The function windows.load may not be firing or is occurring before the ajax has completed.

    Can you try the following? Add it to your theme’s functions.php. It will trigger the window load function which is what the masonry is waiting for.

    function bne_masonry_trigger_load() {
         wp_add_inline_script( 'masonry', 'jQuery(window).trigger("load");');
    }
    add_action( 'wp_enqueue_scripts', 'bne_masonry_trigger_load' );
    
Viewing 1 replies (of 1 total)
  • The topic ‘Loading Animation’ is closed to new replies.