[Support request] Hide secondary menu from guest/users mobile

Home Forums Support [Support request] Hide secondary menu from guest/users mobile

Home Forums Support Hide secondary menu from guest/users mobile

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #346338
    amanda

    I looked up how to hid the secondary menu for mobile for this theme. I want to hide it completely from mobile users but desktop users can see it. Is there any way to do that?

    #346452
    Tom
    Lead Developer
    Lead Developer

    Try this CSS:

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

    Hi Tom,
    thanks a lot. This is very useful. Maybe this could be an option if we use a third navigation for mobile devices?

    Best, Daniel

    #496077
    Leo
    Staff
    Customer Support

    Not sure what you mean?

    Can you link me to the page and see which menu you are trying to hide?

    #1537859
    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.

    #1537876
    Leo
    Staff
    Customer Support

    Can you open a new topic for your question?

    This one is from 2017 which is a bit old.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Hide secondary menu from guest/users mobile’ is closed to new replies.