-
dpsheen
Hi there,
I have been troubleshooting an issue on my website where when the GeneratePress smooth-scroll is enabled it causes an issue with the mobile menu not pushing the content down when opened. I have attached screenshots.
As soon as I disable smooth-scroll in the GeneratePress options the issue goes away. I don’t have any other plugins which are causing conflicts, and have extensively tested this.
First URL – with smooth scroll enabled
Second URL – with smooth scroll disabled

-
Alvind
Hi there,
Could you share the site URL so we can take a closer look at the issue?
-
dpsheen
Sure I’ve posted the url in the private section.
-
Try this CSS:
.both-sticky-menu .main-navigation:not(#mobile-header).toggled .main-nav > ul, .mobile-sticky-menu .main-navigation:not(#mobile-header).toggled .main-nav > ul, .mobile-header-sticky #mobile-header.toggled .main-nav > ul { position: relative; }Adding CSS: https://docs.generatepress.com/article/adding-css/
-
dpsheen
That works great, thank you!
Marking this as resolved.
-
You are welcome 🙂
- You must be logged in to reply to this topic.