MATRIX TABLE WITH ALTERNATING BACKGROUND COLORS | XM Community
Skip to main content

MATRIX TABLE WITH ALTERNATING BACKGROUND COLORS

  • October 10, 2022
  • 3 replies
  • 347 views

Forum|alt.badge.img

Hello.
I am using a matrix table (text entry) that includes 6 "statements" and 4 "scale" points.
I'd like the background color for each statement to alternate between light blue and white - without javascript. What I'd like to achieve:

TABLE.png
Any help would be appreciated.


3 replies

Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • 909 replies
  • October 10, 2022

Hi there, try adding the below CSS to the Style section of your survey's Look & Feel:
.Matrix .ReadableAlt {
background: #e1f5fe;
}


Forum|alt.badge.img
  • Author
  • 26 replies
  • October 10, 2022

Hello, thank you. It worked perfectly.


SuhasM
Qualtrics Employee
Forum|alt.badge.img+16
  • Qualtrics Employee
  • 114 replies
  • October 12, 2022

Such a simple set of code! Tom_1842 is a coding wizard ⭐️