WordPress.org

Support

Support » Plugins and Hacks » Hacks » wp_nav_menu, adding a div around the secondary ul

wp_nav_menu, adding a div around the secondary ul

  • Hello!
    I’m trying to re-work a hard-coded navigation menu into one that is controlled by WordPress.

    The basic setup of the hard-coded menu is:

    <div id="nav">
    	<ul>
    		<li><a>About Us</a>
    		    <div class="flare">
    			<ul>
    				<li></li>
    			</ul>
    		    </div><!--END .flare-->
    		</li>
    	</ul>
     </div><!--END #nav-->

    What I’m particularly after is the <div class=”flare”> around the secondary ul. Is it possible to add that to a wp_nav_menu? I’m using Starkers and modifying as I go along.

    Any help would be greatly appreciated. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_nav_menu, adding a div around the secondary ul’ is closed to new replies.