Custom menu rendering – adding custom divs before and after the menu output
-
Hi,
I’m creating a menu in my left column. I want to output the menu in a DIV such as:
<div class="module"> <div class="top"></div> <div class="menu-content"> <ul> <li>item 1</li> <li>item 2</li> </ul> </div> <div class="bottom"></div>
</div>
I also want all other widgets such as the calendar to be outputted with a top and bottom div around them.
This is very easy to do in Joomla using template overrides, but as a WordPress newbie, I think I might be missing a trick!
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Custom menu rendering – adding custom divs before and after the menu output’ is closed to new replies.