Title: Main Menu Customization
Last modified: September 1, 2016

---

# Main Menu Customization

 *  [ondrejdoskocil](https://wordpress.org/support/users/ondrejdoskocil/)
 * (@ondrejdoskocil)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/main-menu-customization/)
 * Hi,
 * I was wondering how do I make the menu I have to stretch to the full width of
   my site?
 *     ```
       <div class="row">
           <nav id="menu_row" class="navbar navbar-default" role="navigation">
                   <div class="navbar-header">
                       <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                           <span class="sr-only"><?php _e('Toggle navigation', 'nimbus'); ?></span>
                           <span class="icon-bar"></span>
                           <span class="icon-bar"></span>
                           <span class="icon-bar"></span>
                       </button>
                       <a class="navbar-brand visible-xs" href="<?php echo home_url(); ?>">
                           <?php bloginfo('name'); ?>
                       </a>
                   </div>
                   <?php
                       wp_nav_menu( array(
                           'menu'              => 'primary',
                           'theme_location'    => 'primary',
                           'depth'             => 2,
                           'container'         => 'div',
                           'container_class'   => 'collapse navbar-collapse navbar-ex1-collapse',
                           'menu_class'        => 'nav navbar-nav',
                           'fallback_cb'       => 'wp_bootstrap_navwalker::fallback',
                           'walker'            => new wp_bootstrap_navwalker()
                       ));
                   ?>
           </nav>
       </div>
       ```
   
 * This above is my header_menu_php file and I was wondering how to change it so
   that the menu does stretch for the full lenght of my site here -> [kitchenbook.cz](http://kitchenbook.cz)
 * Thanks a lot! 🙂

The topic ‘Main Menu Customization’ is closed to new replies.

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [html code](https://wordpress.org/support/topic-tag/html-code/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [style](https://wordpress.org/support/topic-tag/style/)

 * 0 replies
 * 1 participant
 * Last reply from: [ondrejdoskocil](https://wordpress.org/support/users/ondrejdoskocil/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/main-menu-customization/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
