Streaming live at 10am (PST)

Navlinks not linking to proper section with sidebar navigation

Hello Webflow community,

I’m having some trouble linking my navigation links to their respective sections.

I’d like the navlinks to automatically scroll to the respective sections when clicked, but for some reason this only works when the Navbar is fixed at the top rather than on the side (this is what I’ve chosen to do for Ipad - mobile screen sizes).

I found this post here that offered a similar solution, but unfortunately @cyberdave’s video has been removed : Section ID link navigates to incorrect part of page

Here is my site Read-Only: https://preview.webflow.com/preview/saintsing-medical-consulting?utm_medium=preview_link&utm_source=designer&utm_content=saintsing-medical-consulting&preview=10958dc13e98353e2ac774b233e096fa&mode=preview

Thanks so much, any tips would be greatly appreciated :slight_smile:

I’ve been able to solve this issue using the technique Cyberdave mentioned in the post linked above (adding a section below the body and putting the navbar in there), but I’d still be interested to know why this works? In other words, what was the initial problem?

Thanks to all :slight_smile: