The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Menu Images?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #28544

    Hi guys,

    I’m currently working on a WordPress blog for my friend.
    He wants me to add an image next to the dropdown menu like in

    How do I do that in the stylesheet and in the php as well?
    Since the php consists of only a single line calling out to the menu, how would I assign a different image for each of the menu in the dropdown?

    Hop you guys understand what I mean. :D


    I think that wordpress puts separate classes on each menu item like "page-item-2" or something like that (check your html source on your generated page for the correct numbers)

    You’d use those hooks in your CSS to assign different background images on each link.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.