How can I change the background color of the fields when a user does not fill out a required field?

  • Profile Image
    Asked on January 27, 2017 at 10:13 PM

    I want to change the background color of the "required" text fields as well as the red rectangle that comes up with the "This field is required." message. How can I do that? Please see attached screenshot by RED arrows.


    Thank you.

  • Profile Image
    Answered on January 28, 2017 at 06:26 AM

    If I understand you correctly, you want to change the color of the background of the field if the user leave it blank. See the image below:

    If yes, please add this custom CSS code:

    .form-line-error { 

        background: red !important;

    Here's a guide on: How-to-Inject-Custom-CSS-Codes.


    Hope this answers your question. 

  • Profile Image
    Answered on January 28, 2017 at 03:22 PM