Hi there,
Hmm, maybe I have some confusion with the term sticky. Should the sticky stay on same top position and doesn’t move while scrolling? Or is it sticky that it stay on viewport while scrolling? It’s like the confusion between left and right side while not sure where should be facing 🙂
Should it be fixed top on a landscape, or should be fixed top on the portrait?
If it’s the reversed of what you’re expecting, then how about reversing the CSS too?
@media screen and (orientation:landscape) {
.x-navbar.x-navbar-fixed-top {
position: fixed !important;
top: 0;
width: 100%;
}
}
@media screen and (orientation:portrait) {
.x-navbar.x-navbar-fixed-top {
position: relative !important;
}
}
Thanks!