I use custom menus with drop down. I want to make two different drop-down menus each with different styling. Wordpress puts drop-down items in a single ul with
class="sub-menu". But I need different class for each menu.
<ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3 <ul class="sub-menu"> <li>Sub menu item 1</li> <li>Sub menu item 1</li> </ul> </li> </ul>
I found that this could be achieve with something called Walker but I didn't understand it.