Title: Menu Class
Last modified: August 22, 2016

---

# Menu Class

 *  [Chudz](https://wordpress.org/support/users/chudz/)
 * (@chudz)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/menu-class/)
 * Has somthing changes in latest version of WordPress with the Navigation menu?
 *     ```
       <?php /* Primary navigation */
       	wp_nav_menu( array(
       		'menu' => 'top_menu',
       		'depth' => 2,
       		'container' => false,
       		'menu_class' => 'nav nav-justified',
       		//Process nav menu using our custom nav walker
       		'walker' => new wp_bootstrap_navwalker())
       	);
       ?>
       ```
   
 * I was using this before and then ‘menu_class’ => ‘nav nav-justified’, would add
   the class to the ul tag in the menu but now it is adding it to a new div tag 
   that is wrapped around the ul?

The topic ‘Menu Class’ is closed to new replies.

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
