SOLVED

Changing Color of Text Field Labels in Forms 2.0

Go to solution
Anonymous
Not applicable
Hello folks, 

Looking to change the color of the field lables (I believe they're called).  I believe in the original forms there was the option to change the color of the text in the menu, but there's nothing similar to that with 2.0.  I've dabbled with CSS, but I'm not too familiar with it.  Any suggestions?  I'm trying to get the text changed from black to white.  

Thanks!
Tags (1)
1 ACCEPTED SOLUTION
Anonymous
Not applicable
Hey Dave,

I was able to get a CSS snippet that worked for me:

.mktoForm  {
color: #FFFFFF !important;
  }

Give it a try and let me know if it works!

View solution in original post

5 REPLIES 5
Anonymous
Not applicable
You guys are the best, thanks!
Anonymous
Not applicable
Good catch Kenny, thanks!
Anonymous
Not applicable
Using Caleb's suggesstions should work, however it may change unwanted elements within the form to the color white as well.

You should use:

label {
    color: #ffffff !important;
}

That way you are only targeting the labels.
Anonymous
Not applicable
Hey Dave,

I was able to get a CSS snippet that worked for me:

.mktoForm  {
color: #FFFFFF !important;
  }

Give it a try and let me know if it works!
Anonymous
Not applicable
Marketo gives you full css access to the forms you just need to update the style sheet.