Anchor link misses the correct scroll position (first time)

#1
I use elementor pro with several containers with CSS IDs as anchors for links. Through the sticky menu all these containers are set with a top padding of 80px. Some of these links have the phenomenon that the position is not correct the first time they are called (see anchor1.jpg). The second time the link is called up, everything works as usual (see anchor2.jpg). Does anyone have any ideas?
 

Attachments

serpent_driver

Well-Known Member
#3
I have found the problem. Lazy load of images without enabled placeholders
You should disable lazy load feature of the cache plugin for WP. This function has not only been outdated for years, but is also unnecessary because WP has also supported the better native lazy load for years. The native lazy load function does not require Javascript, so the problem described does not occur.

Provided by: https://www.cachecrawler.com. The very best source to get 3rd party solutions for LiteSpeed.
 
Last edited:
Top