Title: Loading Animation
Last modified: April 9, 2018

---

# Loading Animation

 *  [codoestudio](https://wordpress.org/support/users/codoestudio/)
 * (@codoestudio)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/loading-animation-4/)
 * 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 8 years, 2 months ago by [codoestudio](https://wordpress.org/support/users/codoestudio/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Floading-animation-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kerry](https://wordpress.org/support/users/bluenotes/)
 * (@bluenotes)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/loading-animation-4/#post-10162588)
 * 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.

 * ![](https://ps.w.org/bne-gallery-extended/assets/icon-256x256.png?rev=1417492)
 * [BNE Gallery Extended](https://wordpress.org/plugins/bne-gallery-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bne-gallery-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bne-gallery-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/bne-gallery-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bne-gallery-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bne-gallery-extended/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kerry](https://wordpress.org/support/users/bluenotes/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/loading-animation-4/#post-10162588)
 * Status: not resolved