Custom CSS: How can I change the color of background when field is selected?

  • Meghan_Kelley
    Asked on July 1, 2021 at 10:04 PM

    When I go to fill in a box, it highlights in yellow while it’s being filled. Is there a way to take that highlight away?
    thanks

    Jotform Thread 3196232 Screenshot
  • Zahra_S
    Replied on July 2, 2021 at 6:28 AM

    Hi there,

    Please allow us some time to look into this issue and find a solution. We will get back to you soon.

  • Zahra_S
    Replied on July 3, 2021 at 1:33 AM

    Apologies for the delay.

    Please add the following CSS in your form:

    .form-line-error{
     background-color: #5a060e !important;
    }
    .form-line.form-line-active{
     background-color: #5a060e !important;
    }

    Related Guide: How to Inject Custom CSS Codes

    Here's the form I cloned for testing: https://form.jotform.com/211831186708962. Feel free to test it on your end.

    I hope this helps. Please let us know if you need further assistance.

  • Meghan_Kelley
    Replied on July 3, 2021 at 2:22 AM
    Thank you so much!!
    Get Outlook for iOS
    ________________________________
    ...