nav-menu-template and columns in sub menu (1 post)

  1. Chrome Orange
    Posted 5 years ago #

    I am trying to use the wordpress menu setup and have a working horizontal menu with a drop down submenu. Unfortunately the sub enu is quite long so I wanted to split it into columns

    I can do it if I hardcode the menu into header.php but that means I have to add new items rather than letting the client do it.

    This is a parred down version of what I am trying to achieve

    <div class="headermenucss">
    <ul id="topnav">
    <li><a href="home.html" class="home">home</a></li>
    <li><a href="about.html" class="home">About Us</a>
        <div class="sub">
        <li><a href="services.html">Services</a></li>
        <li><a href="products.html">Products</a></li>
        <li><a href="terms.html">Terms</a></li>
        <li><a href="privacy.html">Privacy Policy</a></li>
        <li><a href="staff.html">Staff</a></li>
        <li><a href="vacancies.html">Vacancies</a></li>
    <li><a href="clients.html" class="home">clients</a></li>
    <li><a href="media_centre.html" class="home">media centre</a></li>
    <li><a href="contact_us.html" class="home">contact us</a></li>
    <li><a href="sitemap.html" class="home">site map</a></li>

    So what I need to do is to be able to loop through the child items and add in the etc as necessary.

    Any tips, advice or anyone done this before?? TIA

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.