Lead Capture Tools

Lpizarro93
Participante

How to change form placeholder colour

Shocked to see Hubspot doesn't have this basic functionality available to allow users to change the placeholder colour. The default is a light grey text on the field, which is barely readable.

 

Does anyone have experience with editing these and is there a custom code we could use to override the current light grey colour? Thanks!

Lpizarro93_1-1709216485806.png

 

0 Me gusta
5 Respuestas 5
Lpizarro93
Participante

How to change form placeholder colour

Hi @DianaGomez. That's not what I was looking for. The answer also requires the form to be set as raw HTML. I'm comfortable adding some code to override the placeholder text colour.  Just need help identifying the code snippet to override this. Thanks

0 Me gusta
DianaGomez
Administrador de la comunidad
Administrador de la comunidad

How to change form placeholder colour

Hi @Lpizarro93

 

Have you had a chance to review the content that Tom shared? There is some code embedded in the guide he provided!

 

Best,

Diana

 

 


¿Sabías que la Comunidad está disponible en Español?
¡Participa hoy en conversaciones en el idioma de tu preferencia,cambiando el idioma en tus configuraciones!

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


0 Me gusta
Lpizarro93
Participante

How to change form placeholder colour

Yes, the code doesn't seem to work for us, even with an !important tag.

::placeholder {
  color: red !important;
}

0 Me gusta
DianaGomez
Administrador de la comunidad
Administrador de la comunidad

How to change form placeholder colour

Hi  @Lpizarro93, thanks for letting us know.

 

@TomM2- Do you have any suggestions or insights that you could offer to assist @Lpizarro93  with their current query or situation?

 

Thanks,

Diana


¿Sabías que la Comunidad está disponible en Español?
¡Participa hoy en conversaciones en el idioma de tu preferencia,cambiando el idioma en tus configuraciones!

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


0 Me gusta
DianaGomez
Administrador de la comunidad
Administrador de la comunidad

How to change form placeholder colour

Hi @Lpizarro93,

 

Thank you for reaching out to the Community!
 

After researching, I found that @TomM2  has already provided a solution to your question: Placeholder color change.

 

I hope this helps,

Diana


¿Sabías que la Comunidad está disponible en Español?
¡Participa hoy en conversaciones en el idioma de tu preferencia,cambiando el idioma en tus configuraciones!

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !