Forums

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

Home Forums JavaScript Fixed nav on scroll – content jumps. Reply To: Fixed nav on scroll – content jumps.

#267599
Shikkediel
Participant

The fix for the jumping is to add some margin equal to the height of .page-head, when you give it fixed position it is taken out of the document flow which makes the content adapt its position.

codepen.io/BYMWLN

Imma have to look a bit more at the other descriptions…