Forums

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

Home Forums JavaScript Hide/reveal header on scroll (works but a bit jumpy) Reply To: Hide/reveal header on scroll (works but a bit jumpy)

#250704
grimski
Participant

Yeah, I think that’s down to the fact the navigation shrinks. It makes it difficult to control the position of the logo/nav toggle. I think the only way it could be done is maybe adding an additional class that is added/removed at a certain offset value (200px for example), that would increase the size of the header before it hit the top of the browser. But that mightn’t look as good.