I am needing some design help for a site that I am working on. I have created a custom nav bar, and I am wanting the nav bar to change on scroll and stay fixed at the top. The nav bar on this site is pretty much exactly what I want to do:
I added the nav bar that I want to change it to on the page “old home” the dropdowns there need animations as well but im more focused on getting the fixed bar first.
As far as the dropdowns not having hover off, they do but not on the trigger itself. On the drop down Div, is where they hover off. Ive been having a lot of issues with this and if you have any kind of idea on how to make these better, it would be much appreciated. The issue with giving it a hover off animation the trigger itself, is that it doesnt stay open for the user to click the links, which is why I only gave it a hover on and set the hover off on the dropdown div itself.
Just watched it and that helps a lot! thank you so much. As far as the nav bar goes, I want it to change as soon as you scroll away from the top. Just like polaris does