2

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

0

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.