How can I apply colour to alternate rows within a matrix table?

Pat87Pat87 Community Member Qubie ✭

How can I apply colour to alternate rows within a matrix table?

Hi everyone,

Does anyone know the code for applying colour to alternate rows within a matrix table? It seems that the new look & feel menu does not allow anymore to make this change through the available options to select.

Many thanks,

Best,

Patrizia

Best Answer

  • jainshubhamjainshubham Mumbai Guru ✭✭
    Accepted Answer

    Hi @Pat87

    You would need to add the below code under Look&Feel>Style>Custom CSS.

    tr.ChoiceRow{
      background-color:#F0F0F0;
    }
    tr.ChoiceRow.ReadableAlt{
      background-color:white;
    }
    

    Here's the result you will achieve with this code:

Answers

  • PhilippPhilipp GermanyCommunity Member Qubie ✭

    I would also be interested in knowing the answer to this question.

    Thank you.

    Philipp

  • PhilippPhilipp GermanyCommunity Member Qubie ✭

    Cool. That worked.

    Thank you.

    Philipp

  • Pat87Pat87 Community Member Qubie ✭

    It worked! Many thanks.
    Patrizia

Sign In to Comment