How do I give class to the dropdown sub-menu in the wp_nav_menu?

This is my html code

Home(current)

Shop

Hoddie
Long Sleeve Tees
Short Sleeve Tees
Tank Top
Jumper

See All

About Us

Contact Us

and I have converted it to my wordpress

‘primary’,
‘container’ => ‘div’,
‘container_class’ => ‘collapse navbar-collapse’,
‘container_id’ => ‘main-navbarToggler’,
‘menu_class’ => ‘nav navbar-nav’
) );

?>

how can I give the class of the dropdowns in the wordpress code

Read more here:: How do I give class to the dropdown sub-menu in the wp_nav_menu?

Leave a Reply

Your email address will not be published. Required fields are marked *