Custom Mega Menu
-
I’m struggling with wp_nav_menu() to output my menu like this
<nav> <ul class="nav"> <li><a href="">First Level</a></li> <li> <a href="">First Level</a> <div class="drop-down"> <ul> <li><a href="#">Second Level</a></li> <li><a href="#">Second Level</a></li> <li><a href="#">Second Level</a></li> <li><a href="#">Second Level</a></li> </ul> <ul> <li><a href="#">Second Level</a></li> <li><a href="#">Second Level</a></li> <li><a href="#">Second Level</a></li> </ul> <ul> <li><a href="#">Second Level</a></li> <li><a href="#">Second Level</a></li> <li><a href="#">Second Level</a></li> <li><a href="#">Second Level</a></li> <li><a href="#">Second Level</a></li> <li><a href="#">Second Level</a></li> </ul> </div> </li> <li><a href="">First Level</a></li> <li><a href="">First Level</a></li> </ul> </nav>
I managed to get the
<div class="drop-down">
with a custom walker in there, but cannot find a solution to output three equal submenus.How do I achieve this?
Thank you!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Custom Mega Menu’ is closed to new replies.