Possible to change the hint text color on forms? | Community
Skip to main content
Alexis_D_Alba1
Level 5
June 24, 2016
Question

Possible to change the hint text color on forms?

  • June 24, 2016
  • 1 reply
  • 2286 views

We have a form that is mostly text fields with hint text instead of field labels. We have two select fields with default values.  The issue is that the color of the hint text is light grey and the color of the default value in the select fields is black. Is there anyway we can control either one of these values so that the form text is the same color throughout?

Thank you!

1 reply

Josh_Hill13
Level 10
June 24, 2016

You should be able to with CSS on the page. Is this form inside Marketo or are you using the API?

Alexis_D_Alba1
Level 5
June 24, 2016

We're using a marketo form with custom CSS, but we cannot figure out how to make a CSS rule for hint text specifically. Do you know how to reference this?

SanfordWhiteman
Level 10
June 25, 2016

css-tricks.com/snippets/css/style-placeholder-text/