Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24500

    I see from other threads, how you can add background to the .main_menu element to achieve a background for your menu. But the background takes up that entire block of space. I would like to see how I can add a background to each menu item with about 5px padding around (top bottom left and right) for each top menu navigation text.

    #123655

    Hi kale407,

    You would need to target each menu by its id and add custom css for each. If you inspect the code when viewing your site you’ll be able to pick out the id number on the menu item.

    Something like:

    #menu-item-999 {
    background: red;
    padding-left: 10px;
    padding-right: 10px;
    }

    Regards,

    Devin

    #123656

    perfect thanks, resolved

    #123657

    Hey,

    Glad Devin fixed it. :)

    Cheers,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Menu text background (Enfold)’ is closed to new replies.