Support » Theme: Twenty Twenty » How to completely hide the menu?
How to completely hide the menu?
-
Hi,
My website currently has only one page, the front page.
I’d like to remove the menu completely, but I can’t seem to find how to do that.I tried deleting all menus, but then it is still displaying a link to the existing pages.
I also tried creating an empty menu, but then it looks weird on mobile because you can expand the empty menu.
Is there a way to completely hide the menu?
The page I need help with: [log in to see the link]
-
Hi @aspyct,
Go to Appearance → Customize → Additional CSS (the text in the menu links might be different in your language) and add the code below:
.menu-modal, .header-navigation-wrapper, .nav-toggle { display: none !important; }
Let me know if that does it.
— Anders
The following should work for both desktop/mobile versions of the theme
#site-header .header-navigation-wrapper, #site-header .mobile-nav-toggle { display: none; }
Thank you Anders and Jarret, that does it 🙂
Enter Additional CSS from customize menu :
/* Hide Toggle Navigation */
.primary-menu-wrapper{
display: none;
}
.header-inner .toggle{
display: none;
}I still cant remove the menu….i have created a blank menu but it doesnt look good…please help
Did you try any of the CSS recommendations above?
Yeah…i did…none is working
Hm, they all work for me more of less. Maybe you need content in the menu, not a blank menu.
I don’t want the space allocated for the header….i want to shift the page upward…remove the header part completed just want a logo there
I don’t want the space allocated for the header
Ok, that’s very different than what’s being discussed here.
Please start a new thread: https://wordpress.org/support/theme/twentytwenty/#new-topic-0
I am having the same problem. I can’t get rid of the header that shows the page headings.
Again, that’s very different than what’s being discussed here.
Please start a new thread: https://wordpress.org/support/theme/twentytwenty/#new-topic-0
Thank you ! I solved the problem thanks to you !!!!
Thank you @jarretc that worked for me, it was making me crazy.
Cheers.
Please tell me How to hide the menu from just one inner page, please.
- You must be logged in to reply to this topic.