Terms and condition widget: Change the color of the required astersik.

  • TealVelvetaBakery
    Asked on March 15, 2025 at 4:45 PM

    How do I change the color of the required asterisk on Terms on Conditions? I entered the below CSS, but it is NOT working for the Terms and Conditions:

    .form-required {
    color: #ff91a4 !important;
    }
  • Lorenz JotForm Support
    Replied on March 16, 2025 at 7:39 AM

    Hi TJcontact,

    Thanks for reaching out to Jotform Support. I checked your form, and it looks like you've managed to change the color using the code below:

    #_label #_terms{
    color: #ff91a4;
    }

    Check this out:

    Terms and condition widget: Change the color of the required astersik Screenshot 20
    Let us know if there's anything else we can help you with.

  • Lorenz JotForm Support
    Replied on March 16, 2025 at 7:41 AM

    Hi TJcontact,

    Additionally, if you're looking to change the color of the asterisk itself, you can add the code below into the widget:

    span.required {
    color: #ff91a4 !important;
    }

    Reach out to us again if you need any more help.

  • TealVelvetaBakery
    Replied on March 17, 2025 at 6:24 PM

    Thank you! It was asterisk itself I wanted to change.

    Just tried:

    span.required {
    color#ff91a4 !important;
    }

    And it did NOT work. :(

  • Elton Support Team Lead
    Replied on March 18, 2025 at 1:19 AM

    Hi TJcontact,

    When I injected the same CSS code into the Terms & Conditions widget into a cloned form, it was working properly. Can you try it again and ensure that you paste the CSS code within the Terms & Conditions widget settings? Here's how to do that:

    1. In the Form Builder, click on the Terms & Conditions widget then the Wand icon to open its settings.
    2. Go to Custom CSS tab and paste your CSS code in the textarea.
    3. Click Update Widget at the bottom to save the changes.


    Terms and condition widget: Change the color of the required astersik Screenshot 20

    Let us know if you still need any help.

  • TealVelvetaBakery
    Replied on March 20, 2025 at 3:33 PM

    Ok, that looks like it did it. Thank you!