Streaming live at 10am (PST)

Issues with Navbar overlap when using in-page linking

Here’s my public share link:

I’m struggling to fix an issue with the in-page linking. When I link to the section on the page the fixed nav bar at the top overlaps the top of the section.

I’ve tried everything to try and fix this, literally spent hours trying to work out why it’s happening! It’s incredibly frustrating as I wasn’t having this issue on earlier versions of my site.

Can anyone please help?

Thanks in advance.

Hi, @James2

My suggestion:

  1. Wrap “NavBarFixed” with the div
  2. Choose HEADER tag for that wrapper
  3. Make header position: fixed and navbar inside of that header position: relative or auto


1 Like

Hi Anna,

Thanks for your suggestion, I managed to get it to work by doing steps 1 and 2 and then instead of step 3 I left the navbar with it’s position fixed. It now sits inside the header div which also has it’s position fixed. For some reason having it relative or auto (as you suggested) pushed it over to the left and made a gap on the right hand side.

Not sure why but this is my first Webflow website so I’m still getting the hang of everything!

Thanks so much for your help :smile:

You just forgot to set aligning for the fixed header (left/top/right/bottom properties):

Also, I would not recommend having fixed positioned element inside the fixed positioned element. It may show up differently in different browsers.


1 Like

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