Title: Hide menu
Last modified: December 28, 2021

---

# Hide menu

 *  [norraviken](https://wordpress.org/support/users/norraviken/)
 * (@norraviken)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/hide-menu-9/)
 * Hi everyone, I would like to hide the menu from [my site] since it’s a landing
   page and don’t require a menu. I believe there’s something you can do through
   the additional css, but I can’t quite figure it out. Is there someone who knows?
   Thank you in advance.
 * Regards,
 * Jenny
    -  This topic was modified 4 years, 5 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
      Reason: removed redundant url
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhide-menu-9%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 5 months ago](https://wordpress.org/support/topic/hide-menu-9/#post-15202347)
 *     ```
       .page-id-801 .mainmenu-wrapper {
           display: none;
       }
       ```
   
 * **To add or override CSS:** use the “Additional CSS” option in the customizer._
   [https://codex.wordpress.org/CSS#Custom\_CSS\_in\_WordPress](https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress)_
 * Learn to use the [Chrome Developer Tools](https://developers.google.com/web/tools/chrome-devtools/)
   or [Firefox Developer Tools](https://developer.mozilla.org/en-US/docs/Tools) 
   to help you see and test changes to your CSS.
 *  Thread Starter [norraviken](https://wordpress.org/support/users/norraviken/)
 * (@norraviken)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/hide-menu-9/#post-15203061)
 * Thank you for the input 🙂 I pasted the code into the custom css section but 
   nothing happened. Is there something else I need to think of?
 * //Jenny
 *  [Smit Rathod](https://wordpress.org/support/users/smit08/)
 * (@smit08)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/hide-menu-9/#post-15203804)
 * Hi [@norraviken](https://wordpress.org/support/users/norraviken/)
 * I have checked your page and found solution.
 * You just need to add few lines of css. I am attaching the code below.
 *     ```
       .page-id-801 .mainmenu-wrapper {
           display: none;
       }
       ```
   
 * So this will hide the menu in desktop site and responsive view. Now you need 
   to align symbol in center in mobile view. For that you need to add 2 lines of
   css in id swl-main-logo. Attaching code below.
 *     ```
       #swl-main-logo {
           margin-left: auto;
           margin-right: auto;
           z-index: 2;
       }
       ```
   
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 5 months ago](https://wordpress.org/support/topic/hide-menu-9/#post-15204196)
 * I don’t see the suggested CSS anywhere on your site. Did you remove it? If not,
   are you using any caching/optimization plugins?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hide menu’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/hide-menu-9/#post-15204196)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
