Archived topic
Sticky navigation to be immediatly
4 replies · Started by takkularapsis on November 21, 2021
Hi,
i would like to have sticky navigation to be in position immediatly. So that there is no change, just a static header all the time. Now it changes as scrolled + there is some funny one row change before sticky navigation.
password fo site
Hi there,
In that case, can you disable the sticky navigation option first, then add this CSS:
header#masthead, nav#site-navigation {
position: fixed;
width: 100%;
z-index: 9999;
}
nav#site-navigation {
top: 43.7px;
}
header#masthead {
top:0;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Awesome, thanks!
No problem :)