Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Change the format of question numbers

  • Xiaochen
  • Xiaochen's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 3 weeks ago #181406 by Xiaochen
Change the format of question numbers was created by Xiaochen
I just want to ask, if it is possible to change the format (e.g. front size, colour) of question number, which is automatically generated. Just like in the following picture, the question number is too small. It should be changed with CSS?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 weeks ago #181416 by Joffm
Replied by Joffm on topic Change the format of question numbers
Hi,
first: which LS version and which template are you using?
The superscript number looks a bit strange.

In a vanilla resp. extended vanilla template you can style the question number and the question code by adding this to your custom.css

.question-number, .question-code {
//css whatever you like
color:blue;
font-family: Calibri;
font-size: 14pt;
font-weight: bold;
...
}

while in extended fruity add
.text-muted.question-number, .text-muted.question-code {
color:red;
...
}


Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose