Home › Forums › CSS › Menu positioning › Reply To: Menu positioning
February 11, 2015 at 5:19 pm
#195727
Participant
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.