Support » Fixing WordPress » Nav menu – make background click able?

Viewing 9 replies - 1 through 9 (of 9 total)
  • esmi

    (@esmi)

    Forum Moderator

    Using CSS, make the text links block level elements using display:inline-block; and adjust their height & width. Then turn your images into backgrounds for these links.

    I’ve now changed the display til inline-block, but the images are already backgrounds?

    So what do I need to adjust of height and width?

    And thank you for the fast reply!

    esmi

    (@esmi)

    Forum Moderator

    The images are currently the background images on the <li> tags – not on the links themselves.

    How can I add a background to a link, when they dont have a id or class?

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    You just want to add background to 1 link?

    all the menu icons I have now, I need them to able to click on.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Instead of adding padding-top to the <li>s of the menu, why not just add padding-top to the <a>s of the menu?

    esmi

    (@esmi)

    Forum Moderator

    Uh? Do you know how to use CSS selectors like #menu-item-34 > a?

    I removed the padding-top at
    <li> and added padding-top to <a> instead.

    Looks like its working, so thank you both very much – very appreciated 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Nav menu – make background click able?’ is closed to new replies.