Changing checkbox values color in forms 2.0 | Community
Skip to main content
February 18, 2014
Question

Changing checkbox values color in forms 2.0

  • February 18, 2014
  • 14 replies
  • 2883 views
Hi All,

I am trying to change the check box value color (not the technical label), I do not know what the appropriate css is to do this. Currently it is grey. Please see below.



Does anyone else know.

Cheers,
Bec
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

14 replies

February 26, 2014
Hi, I am trying to do a similar thing here.....I have changed the label colour but for some reason the radio button text is still appearing in black? I tried the html code above and it doesn't seem to be making a difference. 
February 27, 2014
Hey Lauren,

Here is the css I used to change the grey text I circled above to white: 

.mktoForm {
color: #ffffff !important;
}

Let me know if that helps?

Cheers,
Bec
February 27, 2014
Perfect! Thanks so much Bec. 
March 5, 2015
For those curious on changing the color of the select field text, "Select Industry..." in this example,  I was able to change the color using this custom CSS:
 
.mktoForm select.mktoField {color: #999999 !important;} 
 
The only slight issue, is that it changes the color for all the values... the "Select Industry..." default text as well as all the values you can select from the list.

If anyone knows of a way to change only the color of "Select Industry..."  and not the values in the list, I would love to know how!  I'd like to change the default 'select' text to grey, but leave all the values as black.