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 to add colurs to one particular matrix

    Asked by swapna_summit on August 28, 2014 at 10:03 AM

    Hi i need to add a colour to this matrix 2.1.4 as shown in the picture.

    Screenshot
    picture colour shown
  • Profile Image
    JotForm Designer

    Answered by omer on August 28, 2014 at 10:18 AM

    Hi,

    Can you write these lines as Inject CSS?

     

    #cid_651 .form-matrix-table tr td:nth-child(-n+5) {

       background-color: #DAEEF3;

    }

     

    Have a good day.

  • Profile Image

    Answered by swapna_summit on September 01, 2014 at 04:22 AM

    Hi it doesn't work can u please writ it as for testing  in the form 

     

    http://www.jotform.com//?formID=42431153944956

     

    Thanks.

  • Profile Image
    JotForm Designer

    Answered by omer on September 01, 2014 at 04:37 AM
  • Profile Image

    Answered by swapna_summit on September 01, 2014 at 08:09 AM

    thanks can we add colours to the matrix column headers also?

  • Profile Image
    JotForm Designer

    Answered by omer on September 01, 2014 at 08:24 AM

    Hi,

    Please add these lines also:

     

    #cid_651 .form-matrix-table tr:first-child th {

       background-color: #DAEEF3;

    }

     

    #cid_651 .form-matrix-table tr:first-child th:first-child {

       background-color: transparent;

    }