How to change "hint text" color in forms 2.0

Anonymous
Not applicable

How to change "hint text" color in forms 2.0

Is there a way to style the "hint text" with CSS?

Thanks!
Tags (1)
2 REPLIES 2
Anonymous
Not applicable

Re: How to change "hint text" color in forms 2.0

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
Anonymous
Not applicable

Re: How to change "hint text" color in forms 2.0

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/