Is there a way to have different parts of the form different font colors?

  • Profile Image
    caitlinh
    Asked on December 04, 2017 at 12:55 PM

    I know/see that I can change the CSS for the input field but what about the Titles of each field? I'd like to change them to different colors. Is that possible? 


    For example: On my form I would like the Name through Time Out sections to be entirely in black or dark gray. For the forms below that I would like them to be in a blue color (RGA 3,105,178). Is something like this possible?

  • Profile Image
    Richie_P
    Answered on December 04, 2017 at 01:34 PM

    Yes, you can change the font-color of  the Titles of each field buy injecting custom css.

    Here is a guide on how to inject custom css.How-to-Inject-Custom-CSS-Codes

    Here is the code to change the font colors of the titles.

    This code will make all the titles into black

    .form-label{
        color:black;
    }

    then we can adjust the css code to specify the titles to change its color.

    From the word "is location clean",the css code of the title is #label_67  and the next would be #label_68 and so on. We can manipulate the color by using the code and separating each with coma. Here is a sample css code,that would change the title to blue.

    #label_67,#label_68,#label_69,#label_70,#label_71,#label_72,#label_73,
    #label_74,#label_75,#label_76{

      color:rgb(3,105,178);
    }