Change font color for constant sum total box | XM Community
Solved

Change font color for constant sum total box

  • 12 October 2018
  • 5 replies
  • 112 views

Badge +2
How do I change the font color of the Constant Sum total box? (it defaults to red)
icon

Best answer by SaurabhPujare_Ugam 12 October 2018, 00:29

View original

5 replies

Userlevel 6
Badge +18
Hello @ajhdodma ,

add this code, hope it helps,

Qualtrics.SurveyEngine.addOnReady(function()
{
/*Place your JavaScript here to run when the page is fully displayed*/

jQuery("#QID54_Total").css("color","#000000");

});



You can get that question id from inspect element. i.e "#QID54_Total" part in the code.
I tried the above JS and it did not work. Is there something missing?
Badge +2
That worked for me. Be sure you have the correct QID# (in preview - right click - inspect element).
Hello @ajhdodma,
I am new to css and Qualtrics so your help is greatly appreciated. Could you please show how to do the same for the constantsum total box - increase the font size and make it bold?
I have the other columns bold and in 12 font size but Qualtrics does not allow or give any options of changing the font size or making the text bold for the constantsum total box.
Many thanks!
Userlevel 2
Badge +1

https://www.qualtrics.com/community/discussion/comment/7555#Comment_7555it worked, thanks

Leave a Reply