Nav Bar shifts position across pages

Hi everyone,

I’m experiencing an issue with my navigation bar. It’s the same across all pages, but when I navigate between pages, its position shifts. When I first published the site, everything was working fine, but this issue started happening today, and I can’t figure out how to fix it.

Has anyone encountered this before or knows a possible solution? Any help would be greatly appreciated!

https://preview.webflow.com/preview/egemens-sublime-site?utm_medium=preview_link&utm_source=designer&utm_content=egemens-sublime-site&preview=62a375783f05cde07b8ac5dd1207eed1&workflow=sitePreview

Hi there!

To create a consistent navbar across pages, first ensure it’s positioned as a direct child of the body element. You have two positioning options:

For sticky positioning, set these properties:

  • Position: Sticky
  • Top: 0px
  • Z-index: High value (e.g., 999)

For fixed positioning:

  • Position: Fixed
  • Top: 0px
  • Add padding to the body element equal to your navbar height to prevent content overlap

Both methods work well, with sticky allowing the navbar to scroll until it hits the top, while fixed keeps it permanently at the top of the viewport.

Hopefully this helps! If you still need assistance, please reply here so somebody from the community can help.