How can I get the matrix survey piece to adapt to my theme/style?

  • Profile Image
    WyattDickson
    Asked on December 28, 2016 at 10:22 AM

    The matrix survey tool doesn't seem to adapt to the style or theme of a form, instead remaining opaque, light grey, white, and starkly different from the rest of the form. I was wondering if there's a way to get it to conform to the style or chosen theme of the rest of a form? 

  • Profile Image
    Boris
    Answered on December 28, 2016 at 11:19 AM

    Some fields come with their own styles in order to appear the way they do, so a theme must be built to support the fields. It sounds like the theme you are using is not yet fully built with Matrix fields in mind, so we can correct the styling of your matrix fields by using CSS.

    You can add the following CSS to your form to darken the Matrix field:

    .form-matrix-column-headers,
    .form-matrix-row-headers {
        background: #333;
    }
    .form-matrix-values {
        background: #444;
    }

    The following guide describes how to add these codes into the form:

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

    Your form would end up looking like this:

    Please try it out, and let us know whether you need any further assistance. Thank you.