Specific color for 1 menu item only? - by fredwerk

7 replies2 participantsUpdated by Rose Tyler

  • Avatar: fredwerk
    fredwerk
    Participant

    Hello,

    I have 1 menu item called DONATE and I would like it to be a different colour from the rest.

    What is the custom css I need to use? I would like to use this colour E1C46F

    Thanks,

    7 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Try the next code:

    .main-nav .menu .menu-item-87 a,
    .fixed-header .menu .menu-item-87 a {
        color: #E1C46F !important;
    }

    Regards

    Avatar: fredwerk
    fredwerk
    Participant

    Hi,

    This worked! Many thanks.

    I would like this and and rest of the menu to be the same when viewing the site on a mobile device. Currently it is not. The menu items on mobile device are kinda grey and turns black when clicking on, and turns back to grey.

    What code shall I add?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Theme Options > Typography > Mobile menu font > Font Color.

    Regards

    Avatar: fredwerk
    fredwerk
    Participant

    Thank you, but I can only change the colour of the menu items. I also would like the DONATE menu item to be same colour than desktop version.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Change this code http://prntscr.com/rbds74 to

    .main-nav .menu .menu-item-87 a,
    .fixed-header .menu .menu-item-87 a,
    .et-mobile-menu .menu-item-87 a {
        color: #E1C46F !important;
    }

    Regards

    Avatar: fredwerk
    fredwerk
    Participant

    Thanks, this is perfect!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    You’re welcome!

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register