- This topic has 13 replies, 3 voices, and was last updated 2 years, 9 months ago by Leo.
December 14, 2019 at 6:47 pm #1104614johnaps
My login page suddenly started putting space above and bellow header
versus any other page you ll see the problem..
Can you help me fix this?December 14, 2019 at 7:10 pm #1104618johnaps
it also happens when logged out in
you can see home page https://sofianos-orthopedika.gr/ to see what is the difference-problem.December 15, 2019 at 5:38 am #1104833DavidStaffCustomer SupportDecember 15, 2019 at 6:21 am #1104858johnaps
Hey, is there something i can try?December 15, 2019 at 6:34 am #1104867DavidStaffCustomer Support
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:
Or they offer an option to exclude a filename.December 15, 2019 at 9:05 am #1105090johnaps
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?December 15, 2019 at 9:32 am #1105120LeoStaffCustomer SupportDecember 16, 2019 at 3:00 am #1105583johnaps
i have seen on the various threads about putting manually an attribute with fuctions i guess with a hook maybe?
Is that possible?December 16, 2019 at 3:25 am #1105602johnaps
i also contacted wp rocket…!December 16, 2019 at 4:11 am #1105645DavidStaffCustomer Support
They provide this article explain how:
several functions to exclude the image using class ( ie. the one i provided above ) or the image url itself.December 16, 2019 at 1:25 pm #1106222johnaps
so where i can implement these fuctions?
Or in what file?December 16, 2019 at 1:57 pm #1106235LeoStaffCustomer Support
Functions are PHP:
https://docs.generatepress.com/article/adding-php/December 17, 2019 at 3:42 am #1106624johnaps
i think i got it! Thank you for your time!!December 17, 2019 at 7:46 am #1106952
- You must be logged in to reply to this topic.