- This topic has 11 replies, 4 voices, and was last updated 3 years, 3 months ago by
Ying.
-
AuthorPosts
-
May 9, 2021 at 12:32 am #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
May 9, 2021 at 9:45 am #1771507Leo
StaffCustomer SupportHi 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; } }May 9, 2021 at 10:04 am #1771533Karsten
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.
May 9, 2021 at 10:07 am #1771537Leo
StaffCustomer SupportI’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.
May 9, 2021 at 12:04 pm #1771624Karsten
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
May 9, 2021 at 3:53 pm #1771760Leo
StaffCustomer SupportThis 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.
May 13, 2021 at 5:16 am #1777214Karsten
I moved your CSS to the top and now it works.
thank you
karstenMay 13, 2021 at 9:28 am #1778023Leo
StaffCustomer SupportNo 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_inputMay 13, 2021 at 10:18 am #1778239Karsten
ah, ok, thank you very much, this information is very helpful.
May 13, 2021 at 10:20 am #1778246Leo
StaffCustomer SupportNo problem 🙂
January 17, 2023 at 9:58 am #2499188Saskia
Hello, it only works om homepage. How can I hide the mobile menu toggle on every page?
Thank you!January 17, 2023 at 10:55 am #2499248Ying
StaffCustomer SupportHi Saskia,
Can you open a new topic and link us to your site?
You can use the private info field for your site info.
-
AuthorPosts
- You must be logged in to reply to this topic.