What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How can I change the colour of a matrix ?

    Asked by FRAPannuelle on January 23, 2017 at 06:15 AM

    I would like to change the colour of the matrix but can't find how to do it in the design mode ? Can please someone help ?

  • Profile Image
    JotForm Support

    Answered by ashwin_d on January 23, 2017 at 07:21 AM

    Hello FRAPannuelle,

    Which color you would like to change in matrix field? Please note that it is possible to customize the look of matrix field by injecting custom css code.

    To change the column header background & font color, please inject the following custom css code:

    .form-matrix-column-headers {

        background: #ddd; /*background color*/

        color: red; /*font color*/



    To change the row header background & font color:

    .form-matrix-row-headers {

        background: #ddd;

        color: red;



    To change the background color of martix other columns where the fields are displayed:

    .form-matrix-values {

        background: #f5f5f5;


    The following guide should help you how to inject custom css code in form: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Hope this helps.

    Do get back to us if you want to change some other color of matrix and we will help you with the required css code.

    Thank you!