Contact Form Hint field

Hi!
I have a contact form with some fields, there is some hints like, Name, Email, Subjects…
The thing is, it is barely readable because the font is almost black on black, there is a class connected to that field but it is only for when you enter text, then what you type is white.

Can’t find anywhere an editable class, any help would be awesome, thanks in advance.

Pascal

Are you talking about the placeholder text??

It’s a pseudo element and styled with ::placeholder not a regular class.

Following Pete’s advice on pseudo elements if you want more info on building a contact form watch and follow his guidelines on his video.

It showed me ways to modify and customise a form both functionally and visually - see here a super simple one I built for https://la-petite-lucie.com/
It also revealed to me how other classes built into Blocs can be modified, which was an eye opener for me.

Richard

2 Likes

It’s a brilliant video

2 Likes

The free micro course recorded at 2am :rofl:.

I always wanted to make this a mini course that’s more detailed. I think it covers a lot of the basics though.

Patterns are useful and defining the right input type is a game changer for mobile users.

1 Like