Check out the LimeSurvey source code on GitHub!

Edit style of Text Display question

More
4 years 9 months ago - 4 years 9 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: 4 years 9 months ago by ricardo01. Reason: wrong attachment

Please Log in to join the conversation.

More
4 years 9 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 (or search sondages pro).

Please Log in to join the conversation.

More
4 years 9 months ago #79844 by ricardo01
Thanks, Denis. I appreciate it.

rg

Please Log in to join the conversation.

More
4 years 9 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
(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
4 years 9 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 (or search sondages pro).

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form