The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Menu positioning Reply To: Menu positioning


I’m not 100% sure exactly what you mean by “just a bit off”, but I can assume that you’re talking about the 20px on .menu.

Basically there’s that margin-top: 20px so when you scroll down that 20px is scrolled through before the navbar is set to position: fixed with top: 0.

So I can only theorize, since I don’t know what’s supposed to happen, that the 20px buffer when scrolling down is so small that it looks like it’s jumping a little.

Unless you’re talking about something else.