• 1st Question: Here’s the block of code wordpress outputs and i’m struggling with:

    <ul class="nav">
    
    	<li id="menu-item-443" class="dropdown menu-item menu-item-type-post_type menu-item-object-page menu-item-443">
    
    		<a href="http://localhost/bs.atgfw.com/wordpress/about/"></a>
    
    		<a class="dropdown-toggle" data-toggle="dropdown">About</a>
    
    		<ul class="sub-menu">
    
    			<li id="menu-item-444" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-444">
    				<a href="http://localhost/bs.atgfw.com/wordpress/about/meet-the-staff/"></a>
    				<a class="dropdown-toggle" data-toggle="dropdown">Meet The Staff</a>
    
    			</li>
    
    		</ul>
    	</li>

    how do I combine both anchor tags into one anchor tag?

    2nd Question: How do I change the ul.sub-menu class?

The topic ‘adding attributes to nav menu tags changing .sub-menu class’ is closed to new replies.