Archived topic
Mega Menu v Generate Press Menu
11 replies · Started by Steve on March 16, 2021
When I load my website on the mobile everything is fine i.e. the generate press is hidden, but when I scroll down and scroll back up I have two menus, generate press and mega menu ?
Is it something on generate press that causes this or the plug in ?
Hi Steve,
Did you set sticky navigation on for both desktop and mobile?
Try to choose desktop only.
https://docs.generatepress.com/article/sticky-navigation/
Let me know :)
This is set as Desktop Only but still appears
You have this CSS:
https://www.screencast.com/t/i65LyN7R
Try to change display: none; to display: none !important;
Thats great many thanks, it's cured that one but has given my website the shakes when you scroll down, hard to believe I know - i've not had a drink honest !
That's from the JS of sticky navigation on mobile.
Based on the codes, it looks like the sticky navigation for mobile is still on, could you double check?
https://www.screencast.com/t/sUdNZtcK
Feel free to use screenshot:
https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots
Hi there, I do have it turned on, for desktop only but not for mobiles. Its great for desktop but yeah need to turn it off for mobiles
That's weird!
Could you try to disable all plugins except GP Premium, see if the shaky issue still persists?
Let me know.
Hi there, I have deactivated all the plugins and the problem remains
Hi Steve,
Let's try replace this CSS:
https://www.screencast.com/t/2V5OUqTk3
with this:
@media (max-width: 768px){
#site-navigation {
position: absolute;
top: -999px;
}
}
Brilliant, works great many thanks for your help
Awesome!
Glad it works :)