Cognito Forms – CSS to Change Required Message

cognito-forms

What CSS would I use to change the default pink color on the backgrounds of the validation messages if someone does not enter a required field? (shown below). I can't determine what selector that is.

enter image description here

Best Answer

Check out this blog post by Tyler, one of the great designers at CognitoForms:

Styling Cognito Forms with CSS

Also, you can inspect elements to see the classes applied to them (hint, they all start with c- and they are all named sensibly). The class for error messages is c-validation. You will likely need to use !important to override any styles explicitly applied by Cognito Forms.