How can I add colour to my constant sum question to better distinguish rows? | XM Community
Skip to main content
Solved

How can I add colour to my constant sum question to better distinguish rows?

  • December 1, 2018
  • 1 reply
  • 35 views

Forum|alt.badge.img+2
Hi, I hope someone can help. My constant sum question has 27 rows. I can't break up it because I need sum of all for validation. Is there a way to add colour or bold or similar to alternating rows to help respondents read clearly and avoid entering data in the wrong row? I see how to do that with rich text format for each indicator, but not for the answer box. I don't know java script or html unfortunately. Any and all suggestions welcome - thanks

Best answer by TomG

Use CSS to assign a background color to the ReadableAlt class. For example, add this html to your CS question text: ``` <style> .Skin .CS .VRTL li.ReadableAlt {background-color:#EEE} </style> ```

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • December 1, 2018
Use CSS to assign a background color to the ReadableAlt class. For example, add this html to your CS question text: ``` <style> .Skin .CS .VRTL li.ReadableAlt {background-color:#EEE} </style> ```