Change font of Text/Gaphic to normal | XM Community
Skip to main content

In a survey, I need the font of all questions to be Bold and the answer text normal. Except for the first question, which is a Text/Graphic with an introduction text. Right now, this text is bold as well, because Qualtrics recognizes it as a question (I guess). I tried to override it in the Custom CSS like this without success. Ideas? 

/* QID1 question normal font */
#welkom .QuestionText {
  font-weight: normal !important;
}

@JohannesCE Try below:

#QID1 .QuestionText {

font-weight: normal !important;
}

Hope it helps!


@JohannesCE Try below:

#QID1 .QuestionText {

font-weight: normal !important;
}

Hope it helps!

Hi @Deepak , this is not working. Maybe I should mention I'm using the Simple Layout, so maybe the code is different?


 @JohannesCE 

Yes, for simple layout try this:


.question #question-display-QID1 {
font-weight: normal;
}

 

 


 @JohannesCE 

Yes, for simple layout try this:


.question #question-display-QID1 {
font-weight: normal;
}

 

 

This is not working yet. I tried this with “!important” as well

/* Q79 question normal font */
.question #question-display-Q79 {
    font-weight: normal;
}


Never mind, I found the problem by inspecting the HTML code of the page: the QID were not matching, so it's

.question #question-display-QID1 {

font-weight: normal;

}

It's a bit annoying that one has to inspect the HTML to find the correct QID.

Thank you @Deepak !


Leave a Reply