Is there a way I can add an asterisk (*) to any question using CSS? I need it in CSS so I can just place the code in the Custom CSS editor in the Look and Feel.
.Skin .QuestionText:after {
content: '\\002A';
}
vgayraud Thank you for the help. May I know if it is also possible for a Star Rating Question as shown below?
https://community.qualtrics.com/XMcommunity/discussion/comment/43791#Comment_43791Is it also possible for a Star Rating Question as shown below?
reoolivarez
In that case, it would probably something like :
.Skin .STAR .Stars th.ylabel:after {
content: '\\002A';
}
Inspect your survey preview using your browser dev tools to identify the specific element you want to change, just be careful not to add your css to high-level classes (for example applying your css to all ylabel classes) or you might get unintended asterisks everywhere in your survey.
vgayraud Thank you! It's working.
If I can hijack this thread for a moment: Is there a way to do this, say, only for required (forced response) questions?
phbern yes, just do it for each required question.
I wasn't clear :-)
I'd like to do it in the Look and Feel CSS so it is done automatically for each required question. I'd like to be able to add this to the sitewide themes so users don't have to mess with entering/editing the CSS themselves.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.