Title: Remove navigation bar when shrunk
Last modified: November 29, 2017

---

# Remove navigation bar when shrunk

 *  [zolinas924](https://wordpress.org/support/users/zolinas924/)
 * (@zolinas924)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/remove-navigation-bar-when-shrunk/)
 * I cannot seem to find the section of code within my css to adjust to remove the
   navigation bar under the masthead when the menu button pops up (when the screen
   is shrunk). I’m trying to eliminate the blue bar. Any suggestions would be super
   helpful. I looked at this too long today. Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-navigation-bar-when-shrunk%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/remove-navigation-bar-when-shrunk/#post-9734873)
 * Add to the Additional CSS area of your customizer:
 *     ```
       @media screen and ( max-width: 50em ) {
          .main-navigation, .main-navigation.toggled {
              min-height: 0;
          }
       }
       ```
   
 * You may not need the media query part to only apply the rule for narrowed screens,
   but it’s less likely to disrupt desktop views with it in place.
 *  Thread Starter [zolinas924](https://wordpress.org/support/users/zolinas924/)
 * (@zolinas924)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/remove-navigation-bar-when-shrunk/#post-9734884)
 * Thanks! I actually just figured it out a minute ago! Thanks for the quick response,
   I appreciate it!

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

The topic ‘Remove navigation bar when shrunk’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/popper/1.0.2/screenshot.png)
 * Popper
 * [Support Threads](https://wordpress.org/support/theme/popper/)
 * [Active Topics](https://wordpress.org/support/theme/popper/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/popper/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/popper/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [zolinas924](https://wordpress.org/support/users/zolinas924/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/remove-navigation-bar-when-shrunk/#post-9734884)
 * Status: not resolved