Changing colour and theme on Input Table

  • jmartinrise
    Asked on March 24, 2020 at 5:03 PM

    hi there, i wonder how to change the widget in the screenshot below so it matches the table formatting?


    also, i would like to put some padding on the right side of form


    Thank you!

    Jennifer

    Jotform Thread 2223978 Screenshot
  • VincentJay
    Replied on March 24, 2020 at 5:37 PM

    Are you referring to this section?

    1585085318vz3s Screenshot 10

    What part do you want to change the color?

    Temporarily add this custom CSS code and let us know if you need further help:

    .form-matrix-row-headers {

        border: 1px solid #000;

        background: #b37f7f;

    }

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

        color: orange;

    }

    To add custom CSS code to your form, please follow this guide:

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


  • jmartinrise
    Replied on March 24, 2020 at 5:50 PM

    hi vincent i pasted this in but it the colours arent right.


    i would like the table to be semi opaque with the borders white and the text white.


    also, ive been trying to get a little more space on the row headers but i cant figure that out

    so it looks like the rest of the form as per the picture below.


    thanks for your help! 1585086632Capture Screenshot 10

  • Vanessa_T
    Replied on March 24, 2020 at 5:57 PM

    Please allow me some time to create the CSS for you. Let me get back to you afterwards.

  • Vanessa_T
    Replied on March 24, 2020 at 6:08 PM

    Please add the Custom CSS below:

    .form-matrix-column-headers, 

    .form-matrix-row-headers, 

    .form-matrix-values, 

    .form-matrix-table tr:nth-child(2n) {

        background: transparent;

    }

    The change will be available to all the input tables on your form.

    Sample display:

    Changing colour and theme on Input Table Image 10

  • jmartinrise
    Replied on March 24, 2020 at 6:27 PM

    thanks vincent, this looks so nice now but i wonder one more thing. 


    is there a way to make some more space between the rows so it doesnt look so squished?


    ive tried to figure this out but i cant! 


    Thanks again for your help!

    Jennifer

  • John Support Team Lead
    Replied on March 24, 2020 at 6:35 PM

    Hello Jennifer - Are you referring to the row headers below?

    Changing colour and theme on Input Table Image 10

    If so, you can use this custom CSS code below to add widen it:

    th.form-matrix-row-headers {

        width: 100px;

        text-align: center!important;

    }

    This is how it looks when you used the code above:

    15850892942223978 2 Screenshot 21

    GUIDEHow-to-Inject-Custom-CSS-Codes 

    Please try that and let us know how it goes.

  • jmartinrise
    Replied on March 27, 2020 at 2:24 PM

    hello, i wonder if you can help me with one more thing:

    is there a way to summarize what has been submitted on the form prior to the form being submitted so it can be reviewed for mistakes before they send it?


    thank you!

    Jennifer

  • VincentJay
    Replied on March 27, 2020 at 3:30 PM

    Hello,

    To avoid confusion, I decided to move your new issue to this thread: https://www.jotform.com/answers/2229583