How to change color of sub labels

  • NickDann
    Asked on June 18, 2015 at 9:01 AM

    How to change color of sub labels Image 1 Screenshot 20

    Hi Boris, thanks for this I did wonder if that would be it, just one other question I need to make the sub labels (on screenshot 'First Name') white out but the actual user infill in black. In designer if I stipulate white label text it also makes infill text white too?

  • Boris
    Replied on June 18, 2015 at 9:17 AM

    For sub label color, you will need to inject a little bit of custom CSS into your form. I'm afraid that I'm unable to find any forms in your account that have such a dark blue background, so I am not sure which form exactly do you need help with.

    For sub labels in general, you need to use the following CSS:

    .form-sub-label {
        color: white;
    }

    Where "white" can be replaced with any valid CSS color. In some themes, you may need to add !important to the code, so that it is able to override styles from the theme:

    .form-sub-label {
        color: white !important;
    }

    Note that you can also add this custom CSS from the CSS tab, directly inside the Designer.

    How to change color of sub labels Image 1 Screenshot 20

    Please let us know if you need further assistance.