Changing Color of Text Field Labels in Forms 2.0 | Community
Skip to main content
February 17, 2014
Solved

Changing Color of Text Field Labels in Forms 2.0

  • February 17, 2014
  • 5 replies
  • 1824 views
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.
Best answer by
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

February 17, 2014
Marketo gives you full css access to the forms you just need to update the style sheet. 
Accepted solution
February 17, 2014
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!
February 17, 2014
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.
February 17, 2014
Good catch Kenny, thanks!
February 17, 2014
You guys are the best, thanks!