Welcome, Guest
Username: Password: Remember me

TOPIC: Edit style of Text Display question

Edit style of Text Display question 3 years 3 weeks 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.



textdisplay2.JPG



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


textdisplay_2012-05-04.JPG


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

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

Re: Edit style of Text Display question 3 years 3 weeks ago #79836

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 7144
  • Thank you received: 977
  • Karma: 285
Hello,

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

Re: Edit style of Text Display question 3 years 3 weeks 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.

Re: Edit style of Text Display question 3 years 2 weeks ago #79964

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5612
  • Thank you received: 323
  • 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.

Re: Edit style of Text Display question 3 years 2 weeks ago #79966

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 7144
  • Thank you received: 977
  • Karma: 285
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.128 seconds
Donation Image