• Resolved manuarmand

    (@manuarmand)


    Hi,
    My website is https://www.fodacim.fr.
    I would like to have a different background color for my last item “Faire un don”.
    I have try with this <span style=”background-color: #2ea3f2;”>Faire un don</span> but it’s not very nice.
    Thanks for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi manuarmand,

    Rather than using a span, you’d need to inspect the menu item and work out the CSS selector that targets just that item, then add some custom CSS to Appearance > Customize > Additional CSS.

    It would be something like:

    .path .to .my-menu-item {
    background: red;
    }

    Or you could add a custom class to the menu item and write your own CSS which targets that class.

    There is also an option to change the background for an individual menu item (and many more settings) in the pro version: https://www.megamenu.com/documentation/item-styling/

    Regards,
    Tom

    Thread Starter manuarmand

    (@manuarmand)

    Tks a lot for your help Tom.
    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different background color for one item’ is closed to new replies.