Edit style of Text Display question

More
5 years 4 months ago - 5 years 4 months ago #79828 by ricardo01
ricardo01 created the topic: Edit style of Text Display question
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: 5 years 4 months ago by ricardo01. Reason: wrong attachment

Please Log in to join the conversation.

More
5 years 4 months ago #79836 by DenisChenu
DenisChenu replied the topic: Edit style of Text Display question
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
5 years 4 months ago #79844 by ricardo01
ricardo01 replied the topic: Edit style of Text Display question
Thanks, Denis. I appreciate it.

rg

Please Log in to join the conversation.

More
5 years 4 months ago #79964 by Mazi
Mazi replied the topic: Edit style of Text Display question
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
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 4 months ago #79966 by DenisChenu
DenisChenu replied the topic: Edit style of Text Display question

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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now