Creating a sticky navbar — Webflow tutorial

preview_player
Показать описание
In this video, we'll use position: sticky to keep a navbar fixed to the top of the viewport without affecting the normal document flow. We'll cover setting the navbar as a child of the body, setting the position to sticky, and setting the z-index value.

----------

Рекомендации по теме
Комментарии
Автор

I don't know how to thank you. I was so stressed while doing this. I couldn't figure out what was happening. thank you.

raisulshaque
Автор

When I use Sticky with Anchors (going to a section of the page), the nav covers over a portion of the section. How do I adjust?

graphicredesign
Автор

Yeah, except now, in April 2020, webflow requires you to set Body to position "relative", for sticky nav to work.
When you go to change the Body from "static" position to "relative", it says "The body's position can't be edited".
What's the big idea?

Abanamat
Автор

that's nice and all but doesn't work with a navbar that isn't positioned at the top already

rockyblumble
Автор

Still not working. Sticky menu is below other elements and not clickable.

bazz
Автор

Let me ask you guys: Why are you re-uploading these videos? Is there anything different from the previous ones ?

TFE
Автор

Thank you, that's so nice, but what if my navbar is transparent? It is white, because the header is black, but when I scroll it becomes visible

franci-uz
Автор

Thankyou very much. I have increasing the z-index in fixed position! Now I know to use sticky and higher index value.

AmitThakur-bt
Автор

I really want to learn how to use Webflow to create landing pages that convert.

fnk
Автор

I used to use webflow, but even as "cool" and innovative it is in some ways, I always felt like it was lagging behind (especially for certain types of projects). Still do. For example, it took so long just to get a CMS and E-Commerce still isn't really rolled out. I get it, it takes time for things, but geez, I had to eventually move on to other solutions.
And I said all of this NOT to be a dick, but out of frustration. I really wanted to use it but I kept waiting and waiting.

profitglen
Автор

So is there an updated way because it's not working

vincionyou