Hi Guys,
I’m trying to make both the top bar and the main navigation sticky at this URL:
https://naturespirit.dev.onpressidium.com/.
I’ve added this bit of code:
/* Makes top bar and primary nav. sticky (disable sticky setting in customizer first) */
.top-bar {
position: -webkit-sticky;
position: sticky;
top: 0px;
z-index: 99;
}
#site-navigation {
position: -webkit-sticky;
position: sticky;
top: 29px; /* This is the height of the top bar */
}
Sticky Navigation is turned off in the customizer.
What am I missing?
Thanks!
Matt