How to add different back ground colors in the matrix table ?

  • Profile Image
    swapna_summit
    Asked on July 22, 2014 at 03:59 AM

    I have to add these for only two matrix table in my form and not every table.

  • Profile Image
    omer
    Answered on July 22, 2014 at 04:31 AM

    Hi swapna_summit,

    Can you write the lines below into the Inject CSS box?

     

    #cid_23 .form-matrix-table tr td { background-color: #d6e3bc; }

    #cid_23 .form-matrix-table tr td:nth-child(-n+13) { background-color: #eaf1dd; }

    #cid_23 .form-matrix-table tr td:nth-child(-n+9) { background-color: #c6d9f1; }

    #cid_23 .form-matrix-table tr td:nth-child(-n+5) { background-color: #daeef3; }

     

    If you have any further help, please let me know.

    Have a good day.

  • Profile Image
    swapna_summit
    Answered on July 22, 2014 at 05:41 AM
    Hi

    I have injected this css code ,but the matrix didn’t updated ???

    Thanks.

    ...
  • Profile Image
    swapna_summit
    Answered on July 22, 2014 at 06:11 AM
    Hi


    Thanks it worked now

    ...