Change font color for constant sum total box | XM Community
Skip to main content
Solved

Change font color for constant sum total box

  • October 11, 2018
  • 5 replies
  • 189 views

Forum|alt.badge.img+2
How do I change the font color of the Constant Sum total box? (it defaults to red)

Best answer by SaurabhPujare_Ugam

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.

5 replies

SaurabhPujare_Ugam
QPN Level 5 ●●●●●
Forum|alt.badge.img+18
  • QPN Level 5 ●●●●●
  • Answer
  • October 11, 2018
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.

  • March 27, 2019
I tried the above JS and it did not work. Is there something missing?

Forum|alt.badge.img+2
  • Author
  • April 4, 2019
That worked for me. Be sure you have the correct QID# (in preview - right click - inspect element).

  • October 21, 2019
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!

Forum|alt.badge.img+1
  • September 9, 2020