change background color for the statement part in a side by side question using javascript | XM Community
Skip to main content

Hello, I am trying to change the background color of the statement column only in the side-by-side question. (Change the color for the "Please rate the song" column only).
Picture1.png
I have been trying using JS for this:
jQuery("#"+this.questionId+"QuestionStatementBody").css("background","#323531");

But it seems that there is no "QuestionStatementBody" option, can anyone help provide a solution?
Thank you so much for your help in advance!

Use this code:
jQuery("#"+this.questionId+" th.c1").css("background","#323531");


https://community.qualtrics.com/XMcommunity/discussion/comment/45042#Comment_45042Thank you so much!! This works perfectly! I appreciate it.


Leave a Reply