You need to specify the container element, in our case 'ul'
tag, and than specify the class that we will assign in 'menu_class'
. Here is the sample code:
wp_nav_menu( array(
'theme_location' => 'top-menu',
'container' => 'ul',
'menu_class'=> '[add-your-class-here]'
) );