Jump to content

Changing red missing field colour on form

Recommended Posts

Hi, 

Would love some help with changing this red box and text that comes up when there is an error with a form field. 

(in this image, where it says 'date of birth', the '*' and the red box around those fields. 

I have managed to change the message on top to that brown colour, but not with the red.

Thank you!

Screenshot 2021-04-09 at 17.15.54.png

Link to comment
  • Replies 2
  • Views 781
  • Created
  • Last Reply

Hi,

Would need a link to your site in order to provide the proper code.

The below would work on a 7.1 site but would target all forms, if you want it to target just 1 form you'd need to target that block or page:

.form-wrapper .field-list .form-item.error .title {
  color: blue!important
}

.form-wrapper .field-list .form-item.error * {
    border-color: blue!important
}

Link to comment
On 4/9/2021 at 11:17 PM, claudnicolson said:

Hi, 

Would love some help with changing this red box and text that comes up when there is an error with a form field. 

(in this image, where it says 'date of birth', the '*' and the red box around those fields. 

I have managed to change the message on top to that brown colour, but not with the red.

Thank you!

Hi. Have you solved this yet?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.