[Support request] How to disable completely the mobile on the secondary menu

Home Forums Support [Support request] How to disable completely the mobile on the secondary menu

Home Forums Support How to disable completely the mobile on the secondary menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #503093
    Angel

    Hi,
    I have read the docs:
    https://docs.generatepress.com/article/disable-secondary-navigation-mobile-menu/

    But I do not want to disable the secondary “mobile” I want to disable completely the menu, so it does not appear when the size is mobile.

    Any ideas?
    Thanks!

    #503194
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    @media (max-width: 768px) {
        .secondary-navigation {
            display: none; 
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1537860
    David

    How can I turn off Secondary Menu on Mobile without relying on css.

    Why?

    Because on desktop Google PageSpeed Insights drops my score from 100 to 93 for a Cumulative Layout Shift (CLS) greater than 1. While the mobile version still scores 100.

    #1537879
    Leo
    Staff
    Customer Support

    Can you open a new topic for your question?

    This one is from 2018 which is a bit old.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to disable completely the mobile on the secondary menu’ is closed to new replies.