• Making a custom nav.

    I used some of the function references to get rid of first UL and main outer div. Now when the PHP renders, how do I get rid of the inner Div so it’s just the LI being listed?

    <div class="menu-main-menu-container"> then the li's </div>

    Here’s what I currently got. Note I removed the ID name Access. It all works perfect except this default inner div.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    AFTER THE PHP RENDERS I GET THIS:

    <div id="dc_droplinemenu" class="droplinebar">
    <ul>
    <li class="dc_droplinemenu_corner_left"></li>
    <div class="menu-main-menu-container"> then the LI's </div>
    <li class="dc_droplinemenu_corner_right"></li>
    </ul>
    </div>

  • The topic ‘WP-nav Lose the default inner DIV element’ is closed to new replies.