Using Urbermenu? Is that little bastard not working on your Roots based site?
This should do the trick!
Add the following to the custom.php file
function stop_removing_core_classes(){
remove_filter('nav_menu_css_class', 'roots_nav_menu_css_class', 10 );
remove_filter('nav_menu_item_id', '__return_null');
}
add_action( 'init' , 'stop_removing_core_classes' );
then replace the current nav in the header-top-navbar.php with this:
<nav role="navigation">
<?php
if (has_nav_menu('primary_navigation')) :
wp_nav_menu(array('theme_location' => 'primary_navigation', 'menu_class' => 'nav')); endif; ?> </nav>
Or you can remove the nav wrapper itself and just proceed as is
<?php
if (has_nav_menu('primary_navigation')) :
wp_nav_menu(array('theme_location' => 'primary_navigation', 'menu_class' => 'nav')); endif; ?>