Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Conflicts with smooth scroll and mobile menu

  • 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

    Smooth scroll enabled
    Smooth Scroll disabled

  • Hi there,

    Could you share the site URL so we can take a closer look at the issue?

  • 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/

  • That works great, thank you!

    Marking this as resolved.

  • You are welcome   🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.