How to change color of sub labels

  • Profile Image
    NickDann
    Asked on June 18, 2015 at 09:01 AM

    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?

  • Profile Image
    Boris
    Answered on June 18, 2015 at 09: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.

    Please let us know if you need further assistance.