[ I see that this is a know issue or problem. ]
When clicked, my anchor links are scrolling way past the indented element.
Trying to find the simplest solution to fix it.
I unchecked these boxes but doesn’t help.
The images I’m trying to link to are the headers “Bedding” etc., but I used an app for the image hotspots on the products that load below those, and I’m thinking that might be the issue as well.
You can also see in the recording that the first time I tried it didn’t work properly, that is related to the image load - you can set to load: eager to fix this issue.
Thank you for that, and I’ve given it a try, however, they want the header and navigation to stay visible, and I think that’s where my issue is. Any ideas on that?
I’ve changed the Top Sellers page away from the HTML embeds, and created images with div links on top, but I’m still having the issue of missing the anchor point. Can you take a look and let me know if you see anything obvious before I change all of the images and links on the Shop All page?
I’ve had this issue quite a few times with my navbars, and it seems like a bunch of you have too, so I just released this (free) solution here - comes with a video tutorial, script, and cloneable.
Basically, it will calculate your nav height on any screen size + whatever offset you give it, and then anchor links will scroll with that offset. So, no more content hiding behind your navbar!
@Julian_Galluzzo Thank you! This helped me with one of my projects. So I tried it on another project that has a page full of lazy load images and it’s not working on that one. I noticed the navbar in your example isn’t first in the body (as is recommended in some other discussion on this topic), which is similar to the structure I have in the one I’m trying to solve. Suggestions? Here’s a link: Webflow - Originalia web site