Skip to main content
Refactored and reformatted the answer.
Source Link
Sven
  • 3.7k
  • 1
  • 34
  • 48

menu_classmenu_class is indeed what changes the ul classe, what'sul class. What's happening there is you didn't set which menu to use here: wp-admin/nav-menus.php?action=locations - which is why it's changing the div instead of the ul.

Once you set it, it'll change the ul. Try it.

  • wp-admin/nav-menus.php?action=locations

menu_class is indeed what changes the ul classe, what's happening there is you didn't set which menu to use here: wp-admin/nav-menus.php?action=locations - which is why it's changing the div instead of the ul.

Once you set it, it'll change the ul. Try it.

menu_class is indeed what changes the ul class. What's happening there is you didn't set which menu to use:

  • wp-admin/nav-menus.php?action=locations
Source Link
user156
  • 193
  • 1
  • 1
  • 10

menu_class is indeed what changes the ul classe, what's happening there is you didn't set which menu to use here: wp-admin/nav-menus.php?action=locations - which is why it's changing the div instead of the ul.

Once you set it, it'll change the ul. Try it.