Title: Width on menu
Last modified: August 21, 2016

---

# Width on menu

 *  [ringmar](https://wordpress.org/support/users/ringmar/)
 * (@ringmar)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/width-on-menu/)
 * Hi, I’ve tried to increase the with on my menu, but it doesn’t work.
    The width
   on the site is good, but if you make the browser window bigger(wider) you’ll 
   see that at a certain point, the menu ends. How do I solve this problem?
 * Site: [http://djurdansen.com](http://djurdansen.com)
 * Best,
    Nils

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/width-on-menu/#post-4371614)
 * Try using Firefox with the [Firebug add-on](http://getfirebug.com/) for this 
   kind of CSS troubleshooting. Or use whatever developer tool is available in your
   web browser.
 *  Thread Starter [ringmar](https://wordpress.org/support/users/ringmar/)
 * (@ringmar)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/width-on-menu/#post-4371649)
 * I don’t get how I could use Firebug to do that though..
 *  [egrucza](https://wordpress.org/support/users/egrucza/)
 * (@egrucza)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/width-on-menu/#post-4371696)
 * There is currently a max-width of 1600px on the nav bar.
 *     ```
       .navbar {
       	background-color: #f7f5e7;
       	margin: 0 auto;
       	max-width: 1600px;
       	width: 100%;
       }
       ```
   
 * You’ll want to get rid of the max-width. However be sure not to edit core theme
   files (they will get overwritten when you update).
 *  Thread Starter [ringmar](https://wordpress.org/support/users/ringmar/)
 * (@ringmar)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/width-on-menu/#post-4371699)
 * strange
    this is my css .navbar { background-color: #323232; margin: 0 auto; 
   width: 100%; }
 * I have made a child theme. Is that a problem?
 * Nils
 *  [egrucza](https://wordpress.org/support/users/egrucza/)
 * (@egrucza)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/width-on-menu/#post-4371700)
 * The max-width property is coming from the original core style.css. You’ll need
   to overwrite it in your child theme.
 * Try
 *     ```
       .navbar {
       background-color: #323232;
       margin: 0 auto;
       width: 100%;
       max-width: 100%;
       }
       ```
   
 * In your child theme CSS.
 *  Thread Starter [ringmar](https://wordpress.org/support/users/ringmar/)
 * (@ringmar)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/width-on-menu/#post-4371707)
 * Works like a charm!
    Thank you so much!

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

The topic ‘Width on menu’ is closed to new replies.

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [nav bar](https://wordpress.org/support/topic-tag/nav-bar/)
 * [width](https://wordpress.org/support/topic-tag/width/)

 * 6 replies
 * 3 participants
 * Last reply from: [ringmar](https://wordpress.org/support/users/ringmar/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/width-on-menu/#post-4371707)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
