Skip to main content
Alexis_D_Alba1
Level 5
Jun 24, 2016 1:47 PM UTC
Question

Possible to change the hint text color on forms?

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!

3 replies

Josh_Hill13
Level 10
Jun 24, 2016 1:58 PM UTC

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

Translate
Alexis_D_Alba1
Level 5
Jun 24, 2016 2:43 PM UTC

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?

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Jun 25, 2016 12:24 AM UTC

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

Translate