Loading images and above the fold issues?
-
Hi again,
I want to prepare the best “above the fold scripts” for all pages but I can’t disable logos during loading a page (2 logo images for 1 second visible and it is very annoying).
And the piece of the html code and 2 logo images on branding selector:
... <div class="branding"> <a href="https://desktop-66h52pc/wordpress4/"> <img class="preload-me retinized" srcset="/logo-wall-3d-bottom.png 1x, https://desktop-66h52pc/wordpress4/wp-content/uploads/2014/05/logo-wall-3d-rev-business.png 2x" width="59" height="50" alt="Dekoracje ?cian" src="https://desktop-66h52pc/wordpress4/wp-content/uploads/2014/05/logo-wall-3d-bottom.png"> <img class="mobile-logo preload-me retinized" srcset="https://desktop-66h52pc/wordpress4/wp-content/uploads/2014/05/logo-wall-3d-bottom.png 1x, https://desktop-66h52pc/wordpress4/wp-content/uploads/2014/05/logo-wall-3d-rev-business.png 2x" width="59" height="50" alt="3D Wall Decorations" src="https://desktop-66h52pc/wordpress4/wp-content/uploads/2014/05/logo-wall-3d-bottom.png"> </a> ... </div> ...
The problem is with the logos that are visible one by one during loading for one second. They shouldn’t be visible even 0.001 seconds!
Temporary solution now. The above the fold script contains for test purposes only:
#page .branding { display: none; }
and no logos during loading visible and it works but no one logo visible after loading the whole page at all. That is unwanted behavior too.
It seems that the “above the fold script” works like custom css and overrides all styles loaded before.
Without Inline “above the fold CSS” checked all worked fine. How to get it working right with “above the fold”?
Any suggestions are welcome. ??
- The topic ‘Loading images and above the fold issues?’ is closed to new replies.