How to change the sub-labels color?

  • hillsceneLIVE
    Asked on March 1, 2019 at 6:43 PM

    I would like to alter my previous question "How do I make the sub labels under the questions a different colour? The code supplied only changes the colour of the sub labels under the personal information data." as I have worked out that the sub labels turn grey when I have character limits. Is there a way to keep the sub labels in my colour choice AND have character limits for answers for long text entry?

  • Kevin Support Team Lead
    Replied on March 1, 2019 at 8:54 PM

    You can change the font color with this CSS code: 

    label:not(.form-label) {

        color: orange !important;

    }

    If you're noticing it does not have effect on certain scenarios, please provide us an example about it as well as the form you're working on, you can upload images to this forum thread following this guide: https://www.jotform.com/help/438-How-to-Post-Screenshots-to-Our-Support-Forum

    Attached images via email replies will not reach this thread. 

    Also, this guide will help you injecting the code to your form: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Note that you can also change the "orange" color with yours.