[Resolved] how to hide menu button on mobile and tablet

Home Forums Support [Resolved] how to hide menu button on mobile and tablet

Home Forums Support how to hide menu button on mobile and tablet

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1770941
    Karsten

    Hi friends,

    I am using now the Max Mega Menu. In order to avoid two Menu buttons I need CSS not to display the GP Toggle Menu Button on Mobile and Tablet view.

    Could you please help?

    Here is the link to the website

    I tried this code but it does not work:

    @media (max-width: 768px) {
    .menu-toggle {
    display: none !important;
    }
    }

    Thank you

    Karsten

    #1771507
    Leo
    Staff
    Customer Support

    Hi Karsten,

    Your CSS should work but I’m not seeing it added.

    Try this to be more specific:

    @media (max-width: 768px) {
        #mobile-header .menu-toggle {
            display: none;
        }
    }
    #1771533
    Karsten

    Hi Leo,

    thank you for your support.

    I have added the CSS you gave me but still the Menu Toggle is displayed on tablet and mobile view.

    Please check out here

    #1771537
    Leo
    Staff
    Customer Support

    I’m not seeing my CSS being added at all.

    Do you have any CSS added above my code? If so make sure there aren’t any syntax errors that stop my CSS from being executed.

    #1771624
    Karsten

    I have added the CSS in the customizer but somehow it does not work. I have no idea what has happened.

    Could you please check using the credentials below?

    Thank you

    #1771760
    Leo
    Staff
    Customer Support

    This is likely the issue:

    Do you have any CSS added above my code? If so make sure there aren’t any syntax errors that stop my CSS from being executed.

    Do you have any other CSS added in Additional CSS field in the customizer?

    If so what if you move my CSS to the very top?

    You can also use this tool to check for syntax errors.

    #1777214
    Karsten

    I moved your CSS to the top and now it works.

    thank you
    karsten

    #1778023
    Leo
    Staff
    Customer Support

    No problem 🙂

    This would mean that your other CSS has a syntax error somewhere which stops the CSS below from executing.

    You can use this service to check:
    https://jigsaw.w3.org/css-validator/#validate_by_input

    #1778239
    Karsten

    ah, ok, thank you very much, this information is very helpful.

    #1778246
    Leo
    Staff
    Customer Support

    No problem 🙂

    #2499188
    Saskia

    Hello, it only works om homepage. How can I hide the mobile menu toggle on every page?
    Thank you!

    #2499248
    Ying
    Staff
    Customer Support

    Hi Saskia,

    Can you open a new topic and link us to your site?

    You can use the private info field for your site info.

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