Okay
  Public Ticket #1455557
Changing button text color
Closed

Comments

  • DrYohann started the conversation

    Hi, I'm sure this is a stupid question yet, I can't do it. How do I change the color of text within buttons ? 

  •  2,744
    Andrew replied

    Hey there,

    Thanks for reaching in,

    The button background is what you can change with the button element settings. The text color you will have to use some CSS.

    Regards

  • DrYohann replied

    Ok, I feel less stupid about the question. Can you tell me what CSS to use ?

  •  2,744
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Please use the following CSS in Salient > General Settings > CSS/Script Related > Custom CSS Code

    .nectar-button span { color:white!important }

    Hope this helps,

    Regards

  • DrYohann replied

    That doesn't seem to do anything. I'm guessing that the code you supplied would give white text. So, I replaced White with #4300d6 just to see. No difference: I can't see the code changing anything.

    This is the exact code I entered in the custom CSS section: 

    .nectar-button span { color:#4300d6!important }

    I'm doing something wrong ?

  •  2,744
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Please send a link to your page and include a screenshot of the particular button you want to change so we can have a look at it.

    Regards

  • DrYohann replied

    If every button has to be distinctly customized through CSS, let's wait. Page design just begun and might as well change 20 times by the end of next week. When I'm set, I chime in again. Thanks for your help.

  •  2,744
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Alright, Cool. Please be sure to reach in when you are ready.

    Regards