Skip to main content
Feb 17, 2014 7:10 PM UTC
Solved

Changing Color of Text Field Labels in Forms 2.0

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!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
Feb 17, 2014 8:33 PM UTC
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!

5 replies

Feb 17, 2014 8:50 PM UTC
You guys are the best, thanks!
Translate
Feb 17, 2014 8:40 PM UTC
Good catch Kenny, thanks!
Translate
Feb 17, 2014 8:35 PM UTC
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.
Translate
Accepted solution
Feb 17, 2014 8:33 PM UTC
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!
Translate
Feb 17, 2014 7:20 PM UTC
Marketo gives you full css access to the forms you just need to update the style sheet. 
Translate