Site logo

Archived topic

header on login page has unwanted space all of a sudden

13 replies · Started by johnaps on December 14, 2019

Viewing posts 1–14 of 14

Hi there,

looks like an issue with the Lazy Loader, on those problem pages i am not seeing a Logo just the placeholder for it which is also the problem with the sizing of the header

Hey, is there something i can try?

Check in the Lazy Loader settings if you can 'exclude' certain images from lazy loading. Most offer an option to exclude using a CSS class - for the logo you can use:

header-image

Or they offer an option to exclude a filename.

i checked wp rocket documentation and it says

"Disable LazyLoad on an image
If you want to disable LazyLoad on a specific image, you can do so by adding the
data-no-lazy attribute to the img HTML tag:"

Do you know how can i implement that?

Have you tried asking their support?

It should be like adding classes to any other HTML element:
<img src="https://URL" class="CLASS-NAME">

i have seen on the various threads about putting manually an attribute with fuctions i guess with a hook maybe?
Is that possible?

i also contacted wp rocket...!

so where i can implement these fuctions?
With hooks?
Or in what file?

i think i got it! Thank you for your time!!

No problem :)

This archived topic is closed to new replies.