Okay
  Public Ticket #1006847
How to change menu button colour
Closed

Comments

  •  2
    digitalmorgan started the conversation

    Hi,

    Brilliant theme. Thanks!

    I'd like to change the colour of the 'donate' button on the menu of a site I'm building for a wildlife charity, to make it stand out more. I could easily do this by changing the accent color in the theme. But I'd like to just change just the colour of this button, without changing the accent color site wide. 

    On the menu, I've selected 'Button with Solid Color' and added in a 'magenta' CSS class on the menu. What should this class be in order to change the button colour from green to magenta #e51870?

    Thanks for your help.

    Cheers,

    Morgan

  •  8,997
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :

    header#top nav > ul > li.button_solid_color.magenta > a:before, #header-outer.transparent header#top nav > ul > li.button_solid_color.magenta > a:before {
        background-color: #e51870 !important;
    }

    Thanks


    ThemeNectar Support Team 

  • Morgan replied

    Thank you so much. Worked perfectly!