Edit style of Text Display question

More
7 years 5 months ago - 7 years 5 months ago #79828 by ricardo01
I'm creating a text display question, which will be used to present some instructions. I want to use bold text in some parts of the questions only.






However, when I run the survey, the whole question is in bold text.




How can I modify this so it displays bold text only where I want. I'm using a template based on limeinspired

thanks
Attachments:
Last edit: 7 years 5 months ago by ricardo01. Reason: wrong attachment

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
7 years 5 months ago #79836 by DenisChenu
Hello,

Put at end of template.css:
.boilerplate .survey-question-text{
  font-weight: normal;
}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #79844 by ricardo01
Thanks, Denis. I appreciate it.

rg

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #79964 by Mazi
Unfortunately some template (I think even the defaut template) use bold question text by default which isn't very clever because this takes the opportunity to mark certain text parts in bold, you could only use <em> or underlining instead.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #79966 by DenisChenu

Mazi wrote: Unfortunately some template (I think even the defaut template) use bold question text by default which isn't very clever because this takes the opportunity to mark certain text parts in bold, you could only use <em> or underlining instead.

Solution can be in template.css.
.question-text strong,.question-text b{color:#000}
Or some other color.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!