Adding horizontal dividing lines OR alternating row colors for a Side-by-Side question | XM Community
Skip to main content
I would like to add horizontal dividing lines or alternating row colors to my side-by-side question. Does anyone have any code they would be willing to share? Changing alternate row colors in the Old Look and Feel editor did not seem to have an effect. Below is a screenshot for how it currently looks. Ideally I just want something subtle that makes it easier to differentiate the rows.



!
Hello @uhrxx005 ,



Use the below code:



jQuery("#"+this.questionId+" .Choice").css("border-bottom","2px solid black"); //horizontal line

jQuery("#"+this.questionId+" .ReadableAlt").css("background","#d2d2d6"); //alternate color
@shashi, this worked great! Thank you so much!

So, where exactly does this code go?


Leave a Reply