+ 1

Why is the nav not sticking to the top of the page?

https://code.sololearn.com/WFm6OCkF5dW6/?ref=app

11th Feb 2021, 3:22 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
3 Respuestas
0
On mine, only 1/3 of the nav can be seen when scrolling down. So strange. it is working fine on codepen.
11th Feb 2021, 4:29 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
0
you should use 'fixed' rather than 'sticky' to 'position' property of #navbar... ... and then reset the top property of #welcome-section to zero ^^
11th Feb 2021, 5:00 PM
visph
visph - avatar