Hello:)
Does anybody knows how to make a nav bar which has two modes, dark and light. The idea is to switch between them depending on the height of the page for example.
Reference: https://newgenre.studio/
Thanks so much in advance:)
Hello:)
Does anybody knows how to make a nav bar which has two modes, dark and light. The idea is to switch between them depending on the height of the page for example.
Reference: https://newgenre.studio/
Thanks so much in advance:)
Hi there,
To create a navbar that shows/hides on scroll, you can use Webflow’s native scroll effects or implement a custom solution using interactions. Here’s how to do it with scroll effects:
For showing/hiding the navbar on scroll:
For implementing dark/light mode transitions based on scroll position, you’ll need to use custom code. You can create this functionality by:
The custom code solution allows for more dynamic control over your navbar’s appearance as users scroll through different sections of your site.
Hopefully this helps! If you still need assistance, please reply here so somebody from the community can help.
Hey @Radovan_Milanovic ,
To add-on to the AI answer above, you can find cloneables like this one which uses a custom library or this one which uses GSAP code to achieve the same effect that you are aiming for your project.
You can also explore setting up Interactions - the classic one or GSAP to set this up in a no-code way via Scroll trigger.
Hope this gives you some idea to explore and test for your project.
Thanks buddy! Love it ![]()