Can I make one element in my form have a different text color than the rest of the form?

  • Profile Image
    dclaus
    Asked on August 07, 2014 at 04:29 PM

    Hi! 

    I need to create a form collapse in a JotForm. However, I would like the whole form to be black with white writing. But the form collapse fields are white/light grey and the writing on the form collapse is white so it isn't very visible.

    Is it possible to keep the writing on the rest of the form white and just change the writing on the form collapse to be black?

     

    And is it possible to only require that form collapse 1 be filled out and but form collapse 2 not be required?

    Your help would be greatly appreciated! 

    Thank you!

  • Profile Image
    Mike_T
    Answered on August 07, 2014 at 06:12 PM

    Thank you for contacting us.

    It is possible to inject a custom CSS code to the form in order to style it.

    For example, we can use the following CSS to set the black text color on the form collapses.

    .form-collapse-table {
    color: black;
    }

    The second question has been moved into a separate thread:

    https://www.jotform.com/answers/413463

    Please feel free to contact us if you need any further assistance. We will be happy to help.