Anchor offset appeared out of nowhere

Hi there -
I have spent the last couple of hours going through all of my versions to pinpoint when this anchor bug started to display.

Issue: Anchor animation scrolls to div id location but with an offset of 60px.

The issue began around April 6, 2018 between noon and 2 pm PST.
I do not see any updates to features on that date. However, I’ve compared all of the related containers and styles to see if something was changed… I cannot see any changes that were made on our side.

Can someone please help with why the anchor would start to offset?


Here is my site Read-Only:

@metriksf looks like it’s because you have a fixed navbar component directly inside the body. When this happens Webflow will take that height into consideration when using scroll offset. Since that element is only visible after tablet, what you can do is make it have any position besides “fixed” on desktop (absolute or relative). Then make it be fixed on mobile.

Here is a gif example:

Then go down to mobile and make it fixed like this screenshot:

Please let me know if this helps.

Thank you Justin_c, you are a star! That was it!!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.