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

Change font color for constant sum total box

  • Oct 11, 2018 10:05 PM UTC
  • 5 replies
  • 229 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.
View original

5 replies

SaurabhPujare_Ugam
QPN Level 5 ●●●●●
Forum|alt.badge.img+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.

  • Mar 27, 2019 11:54 PM UTC
I tried the above JS and it did not work. Is there something missing?

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

  • Oct 21, 2019 6:19 PM UTC
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
  • Sep 9, 2020 6:58 AM UTC