Streaming live at 10am (PST)

Nav links scroll and navbar position


#1

Hello !

I'm building up a website and I have a little problem there.

I made a navbar and linked the navlinks to different sections but the problem is that when I click on the navlink it will scroll to the section but the navbar will stay out of the section.

It's not really easy to explain so take a look at this : https://preview.webflow.com/preview/mashups2?preview=26ec1163a4e1e69ecf4733fe65a06a3a

Click on digital and you'll see my problem.

If you could help me that'll be nice.


#2

If I understand well, what you tgink is "your problem" is what many people want to acieve smile As your code is clean, this is the behavior that you're supposed to expect. The navbar doesn't overlapp the targeted section... the scroll stops be fore it overlaps (have I this right?).

So the question is why do you want the sections to overlapp the navbar?

To do that, you just have to... mess with your site. Drag a Div under the boday, and put the navbar in it... now the sections will overlapp (and your code isn't that clean anymore because the navbar isn't at root)


#3