How to add colurs to one particular matrix

  • Profile Image
    swapna_summit
    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.

  • Profile Image
    omer
    Answered 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
    swapna_summit
    Answered 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
    omer
    Answered on September 01, 2014 at 04:37 AM
  • Profile Image
    swapna_summit
    Answered on September 01, 2014 at 08:09 AM

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

  • Profile Image
    omer
    Answered 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;

    }