Adding css to a php command? ie. navigation menu
-
I have this code
<nav> <ul class="mainmenu"> <li></li> <li></li> <li></li> </ul> </nav>
And just replaced it with wordpress 3 menu so it is now:
<nav> <?php wp_nav_menu(array('menu' => 'Main Nav Menu')); ?> </nav>
My UL class “mainmenu” had some css to position the navigation list in a certain way etc.
How do I apply this same css to the php command, or will I have to wrap it in a div within the nav tag with those same settings?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding css to a php command? ie. navigation menu’ is closed to new replies.