I have two file first is header.php.
I want to add custom class in my menu but it's not working. If you have any solution please tell me. I am already before sometime. But now i am forgot.
$defaults = array(
'theme_location' => 'header-menu',
'container_class' => 'top-menu-container',
'container_id' => 'cssmenu',
'menu_class' => 'menu',
'menu_id' => 'menu-top-menu1',
);
echo wp_nav_menu( $defaults);
functions.php code is following
register_nav_menu('header-menu','Top Menu');