Welcome, Guest
Username: Password: Remember me

TOPIC: Edit style of Text Display question

Edit style of Text Display question 3 years 3 months ago #79828

  • ricardo
  • ricardo's Avatar
  • Offline
  • Expert Lime
  • Posts: 117
  • Thank you received: 1
  • Karma: 0
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

This message has attachments images.
Please log in or register to see it.

Last Edit: 3 years 3 months ago by ricardo. Reason: wrong attachment
The administrator has disabled public write access.

Edit style of Text Display question 3 years 3 months ago #79836

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 7495
  • Thank you received: 1021
  • Karma: 296
Hello,

Put at end of template.css:
.boilerplate .survey-question-text{
  font-weight: normal;
}
The administrator has disabled public write access.

Edit style of Text Display question 3 years 3 months ago #79844

  • ricardo
  • ricardo's Avatar
  • Offline
  • Expert Lime
  • Posts: 117
  • Thank you received: 1
  • Karma: 0
Thanks, Denis. I appreciate it.

rg
The administrator has disabled public write access.

Edit style of Text Display question 3 years 3 months ago #79964

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5725
  • Thank you received: 333
  • Karma: 255
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)limesurvey.org'"
The administrator has disabled public write access.

Edit style of Text Display question 3 years 3 months ago #79966

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 7495
  • Thank you received: 1021
  • Karma: 296
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
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.150 seconds