How to add colurs to one particular matrix

  • SumSolTrain
    Asked 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.

    Jotform Thread 421736 Screenshot
  • omer Jotform Support
    Replied 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.

  • SumSolTrain
    Replied on September 1, 2014 at 4: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.

  • omer Jotform Support
    Replied on September 1, 2014 at 4:37 AM
  • SumSolTrain
    Replied on September 1, 2014 at 8:09 AM

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

  • omer Jotform Support
    Replied on September 1, 2014 at 8: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;

    }