I want to bold and increase the font size to Arial 10 on the Total column in a constant sum table. | XM Community
Skip to main content

I want to bold and increase the font size to Arial 10 on the Total column in a constant sum table.

  • October 12, 2022
  • 4 replies
  • 99 views

Forum|alt.badge.img+1

Does anyone know the code to do this? Thanks Karen

4 replies

Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • 1555 replies
  • October 12, 2022

Kfisherk
Kindly include this in Custom CSS:
.Skin .CS .CSTotal, .Skin .CS .Total {
font-weight: bold;
font-family: Arial, sans-serif;
font-size: 14px;

}
Hope this helps!


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • October 12, 2022

What are the units on the 10? 10px is very small. The typical default is 16px.
Anyway, you can use a CSS style something like this:
.Skin .ChoiceStructure .DarkBG, .Skin .ChoiceStructure .DarkBG input[type=text] {
font-weight:bold;
font-family: Arial, sans-serif;
font-size: larger;
}


Forum|alt.badge.img+1
  • Author
  • Level 1 ●
  • 8 replies
  • October 13, 2022

Thank you all for the suggestions. You are right I want to use 14px. As I am new to this can you please show me where I include the code. Here is the default Java Scrip. When I copy and paste the code provided, I get an error - invalid token. Any additional help will me much appreciated. Best, Karen

Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/

});

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

});

Qualtrics.SurveyEngine.addOnUnload(function()
{
/*Place your JavaScript here to run when the page is unloaded*/

});


Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • 1555 replies
  • October 13, 2022

Kfisherk
You need to include this in Custom CSS in Look and Feel.
image.pngHope it helps!