• Using wp_nav_menu, the container and menu css tags are related to the name of the menu selected.
    I have used a location as I want the user to be able to change the menu used, however, as the css is named after the menu, the styles will be lost.
    Is there a way to use the location name in the css tags?

    thanks

Viewing 1 replies (of 1 total)
  • When you call wp_nav_menu(), you can pass the arguments container_class and menu_class to assign custom classes to the enclosing <div> and the <ul>, respectively. Does that help?

Viewing 1 replies (of 1 total)
  • The topic ‘wp_nav_menu style by location’ is closed to new replies.