WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Drop-down menu with short description like: (a)text1(br)(span)text2(/span)(/a)' (2 posts)

  1. nookeen
    Member
    Posted 3 years ago #

    Hi all, I was wondering if there is a non-complicated way to create a WP drop-down menu that visually kind of resembles http://GoDaddy.com menu, but it does not have to be as complex. All I would like to make the following structure for only ONE of my columns, leave the rest regular one-line links. Here is what I would like to do for that ONE column:

    ...

    <ul id="menu">
     <li class="menu-first-level">
      <ul id="sub-menu">
       <li class="menu-second-level"><a href="#">Product Name 1
        <br>
        <span>Short Description of a Product 1</span></a></li>
       <li class="menu-second-level"><a href="#">Product Name 2
        <br>
        <span>Short Description of a Product 2</span></a></li>
      </ul>
     </li>
     </ul>

    ...
    Please ignore all the class names, they are for explanation purposes only. I have the CSS and JQuery parts for this layout set up. However, I cannot figure out how to stick it in WordPress menu. Just spent hours digging and everything I find has <a><span>link</span></a> structure.

    Mucho thanks in advance! =)

  2. nookeen
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic