How to change "hint text" color in forms 2.0 | Community
Skip to main content
January 13, 2015
Question

How to change "hint text" color in forms 2.0

  • January 13, 2015
  • 2 replies
  • 1209 views
Is there a way to style the "hint text" with CSS?

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

2 replies

January 13, 2015
This is possible. Change "pink" to the color needed, and then add this to your CSS

::-webkit-input-placeholder {
  color: pink;
}
::-moz-placeholder { /* Firefox 19+ */
  color: pink;
}
:-ms-input-placeholder {
  color: pink;
}
:-moz-placeholder { /* Firefox 18- */
  color: pink;
}


Source:
http://css-tricks.com/snippets/css/style-placeholder-text/
http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css
January 14, 2015
For future viewers of this thread, I added a blog post on the Marketo Developer Blog that shows how to do this:
http://developers.marketo.com/blog/change-the-hint-text-color-on-a-marketo-form/