Text Box Background Color

  • SAHomeSchool
    Asked on February 8, 2018 at 9: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!

    Jotform Thread 1377670 Screenshot
  • David JotForm Support
    Replied on February 8, 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.