Does anyone know, how to create a fixed navigation menu upon scroll? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Does anyone know, how to create a fixed navigation menu upon scroll?

The navigation menu moves until it reaches the top of the page then the class/id switches to fixed, I'm having trouble creating this, maybe someone can help.

14th May 2017, 5:28 AM
Skitzofrenzy
Skitzofrenzy - avatar
1 Answer
+ 2
use css "position: fixed;" for the wrapper container of navigation menu
14th May 2017, 5:57 AM
Apel Mahmod
Apel Mahmod - avatar