WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Adding an image to the bottom of WordPress' default dropdown menu

[Resolved] Adding an image to the bottom of WordPress' default dropdown menu

  • ViPeRx007
    Member

    @viperx007

    I’m trying to add a graphic to the bottom of my dropdown menu’s but can’t seem to find where WordPress actually generates the navigation code to do this. I can’t imagine this being that difficult but I’m not having any luck finding it.

    I’m essentially trying to put a “footer” on the bottom of my dropdown menu’s (very basic example code):

    <ul>
        <li>link</li>
        <li>link</li>
        <li>link</li>
            <img src="#">
     </ul>

    I appreciate any help anyone can provide.

Viewing 9 replies - 1 through 9 (of 9 total)
  • ViPeRx007
    Member

    @viperx007

    I still haven’t figured this one out. Does anyone have any ideas?

    esmi
    Forum Moderator

    @esmi

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

    ViPeRx007
    Member

    @viperx007

    This is the site I am working on:
    http://www.healthybydesignyellowstone.org.php5-22.dfw1-2.websitetestlink.com/

    Here is a jpg example of the menu:
    http://img695.imageshack.us/img695/4089/healthybydesignhome2.jpg

    You can see in the sketch I did there is an orange bar at the bottom of the dropdown menu but I’m not sure how to apply that to the actual site.

    ViPeRx007
    Member

    @viperx007

    I’m not sure I can provide any more than that. It seems fairly straightforward what I’m trying to accomplish. It also doesn’t seem like it should be very hard, but it’s whooping me….frustrating!

    esmi
    Forum Moderator

    @esmi

    You’d need to add that orange bar as a background image on the .children submenu/list.

    ViPeRx007
    Member

    @viperx007

    Well, I got it in there but now it seems to want to hide behind the green background.

    esmi
    Forum Moderator

    @esmi

    Now add padding-bottom:16px; to #access .children to allow it to be seen.

    ViPeRx007
    Member

    @viperx007

    Ahhhhh, that did the trick. I was doing padding-top, margin-top, etc…it’s been a long week already. You’re awesome esmi. I really appreciate it. Thanks!

    esmi
    Forum Moderator

    @esmi

    No problem 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Adding an image to the bottom of WordPress' default dropdown menu’ is closed to new replies.