How to change color of error messages in form
How can I change the color/appearance of error messages that appear in the form when a field is not correctly filled out?
Original post by Morten Persen
-
Official comment
Answer from ShortStack Support: This can be done via the Style Panel. Here's how:
- Click the icon at the top to open the Style Panel
- Click the Form Widget in the Edit Widgets Panel to open the Form Widget settings in the Style Panel
- Within the Style Panel under ALL FORM, click ERRORS
- In the ERROR TEXT section, update the color in the box below Error Text Color
- Click Save at the bottom of the Style Panel
Steps 1-4 are illustrated in the image below.
For older Campaigns not using Style Panel:
If you are not using the Style Panel for your Campaign (older Campaigns), then error messages can be changed with this CSS:
label.error{
color:#fff!important;
}Comment actions
Please sign in to leave a comment.
Comments
1 comment