Problem with scrolling nav bar

so i have started building a website and its almost finished, i am now trying to add in a nav bar that scrolls with the user. Im going on to use the “show nav on scroll” tutorial but the problem is that when i add a nav bar it doesnt scroll down the page with the user, it just stays at the top of the page. I thought they did this by default?

is there an extra setting i need to include?

Use “fixed” positioning:

Should take care of it if I’m following your challenge.

thank you fixed the problem.