Archived topic
Loading issue: Page loads larger than it has to be
4 replies · Started by webcréateur on December 16, 2019
Hi there!
We have a little problem with clients website. The structure of the website is as below:
— top Header
— primary navigation
— Logo Section
— Secondary Navigation
The problem is that when the website is loaded, the navigations open up for a short time, which means that the distance between the primary and secondary navigation is wide open. After a short loading time, the navigations are "collapsed" again and "find" the final position. But this creates an ugly effect when loading ...
Unfortunately I could not solve the problem. :(
Could you please locate the cause?
I found the reason as mentioned here:
https://generatepress.com/forums/topic/loading-issue-with-a-section/
It was the lazy loader of Autoptimize.
Any change to use lazy loader with loading issues or exclude the Logo section of GP?
In the Autoptimize Settings the image tab provides an exclusions field, try adding this class:
header-image
Didn't see the exclusions field ...
Thank you very much! :)
You're welcome