I have two amateur questions. I am trying a design for a travel website. For this I wanted to set up a fixed navbar which always stays in the same place. My approach seems to work.
But now there are two strange behaviors:
1.) I have assigned an ID to the content section which is picked up by the first menu link. As soon as this link is clicked, the page also jumps to the ID, but stays at the same height as the navbar is. I could work around the problem by reducing the first section’s top margin, but I don’t think that’s the right way.
2.) The current status of the navlink appears as soon as the first section is scrolled over 50%. But I want that the Current Status is only triggered when the section is fully scrolled up.
Thanks for your help.