Forums

WP-nav Lose the default inner DIV element (1 post)

  1. Rubyhaus Design
    Member
    Posted 10 months ago #

    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>

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 10 months ago by Rubyhaus Design
  • This topic is not resolved
  • WordPress version: 3.2.1