How do I change the colour of a table?

  • Buscgroup
    Asked on March 29, 2017 at 8:22 PM

    Hi, 

    I have a table in one of my forms and it is difficult to read.  The table has a grey shading and I have a white font so it is difficult to read.  How can I change the colour of the shading?

     

    Thanks, Chris

    Jotform Thread 1106154 Screenshot
  • David JotForm Support Manager
    Replied on March 30, 2017 at 12:09 AM

    You can accomplish it by injecting custom CSS code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    .form-matrix-row-headers, .form-matrix-column-headers {

        background: black;

    }

    Result:

    How do I change the colour of a table? Image 1 Screenshot 30

    Or, you can set the background to be transparent:

    .form-matrix-row-headers, .form-matrix-column-headers {

    background: transparent;

    }

    Result:

    How do I change the colour of a table? Image 2 Screenshot 41

    Let us know if you need more help.