Text Box Background Color

  • Profile Image
    SAHomeSchool
    Asked on February 08, 2018 at 09:58 AM

    Hi,

    How do I change the background colour of the text box (when I use the text element)

    Right now similar to this section in-terms of formatting I can only modify the text color and the background of the text color.

    But what I would like, is to change the colour of everything that is inside the blue box and not just where the letters are. (See image attached)

    Makes sense?

    If there is a way, could I have the coding?

    and while at it I would also need the code to change the size of the blue box as it would be to wide if I am able to change the full background colour. 

    My goal is to create a Highlighted box.

    Hope this all makes sense,

    Thanks in  advance!

  • Profile Image
    david
    Answered on February 08, 2018 at 11:19 AM

    To change the background color of your "Text" elements, add the following code to the form:

    https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    .form-html {
        background-color : blue;
    }

    Change blue to whatever color you prefer.