Archived topic
Sticky navigation dissapearing after first fold
5 replies · Started by Gregor on December 4, 2021
I've set the main navigation sticky, but when I scroll down it just dissapears at some point. On desktop and mobile.
I already deactivated most of the plugins, but nothing.
Would be magic if you could have a look and help me out?
Hi there,
you have an optimization plugin that is minifying and combining Javascript files.
Can you temporarily disable that and clear you browser caches to see if that is causing the issue.
Hi David,
I've switched off minifying and deactivated the optimization plugin. The sticky menu keeps disappearing.
It's fading away as soon as scrolling passes the first fold.
Ok so the Smooth Box plugin (?) is adding this CSS:
body, html {
height: 100%;
width:100%;
}
That height property is the issue.
You will need to add this CSS to overcome that:
body, html {
height: auto !important;
}
Magic! It works.
Smooth box didn't ring a bell, but it seems to be part the 'Simple Lightbox Gallery'.
Thanks a million for the great support on a sunday morning, David!
Really appreciate it.
Have a good day.
Awesome glad to hear that and glad to be of help!