How to add a widget inside a submenu?
-
For a costum theme i try to achieve this:
https://dl.dropboxusercontent.com/u/204337/submenu/submenu.jpg
My designer for this project decided to add a widget (a list of links) INSIDE a submenu besides the standard submenu items.
The full width submenu with all the submenuitems is no problem, but i don’t know how to add extra content in a submenu besides the submenuitems.
Is there a way to add a widget or other content INSIDE a submenu?
I develop the side on a local machine, so I can’t give a link just yet.
In code it will be something like this:
<nav> <ul> <li><a href="#">item 1</a></li> <li><a href="#">item 2</a> <ul> <div class="Widget_inside_submen"> <p>How do I add this widget here?/p> </div> <li><a href="#">Sub-item 1</a></li> <li><a href="#">Sub item 2</a></li> <li><a href="#">Sub-item 3</a></li> </ul> </li> <li><a href="#">item 3</a></li> <li><a href="#">item 4</a></li> </ul> </nav>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to add a widget inside a submenu?’ is closed to new replies.