- Posts: 10
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to set question font attributes in css file
- william71
- Topic Author
- Offline
- New Member
Less
More
6 years 5 months ago - 6 years 5 months ago #159675
by william71
How to set question font attributes in css file was created by william71
Hello,
this is my first question here and also the first time I use limesurvey.
I use the default: news_paper.css
I need to tweak font settings of both questions and answers.
So far, I tweaked the following section of (my copy of) "news_paper.css":
Changing
, and
affected both questions and answers.
However, changing
did non affect the question font color.
How can I apply specific changes to either question or answer fonts in the css file?
Many thanks and kind regards
Wilhelm
this is my first question here and also the first time I use limesurvey.
I use the default: news_paper.css
I need to tweak font settings of both questions and answers.
So far, I tweaked the following section of (my copy of) "news_paper.css":
Code:
body { font-family: "News Cycle", "Arial Narrow Bold", sans-serif; font-size: 20px; line-height: 1.42857143; color: #222222; background-color: #ffffff; }
Changing
Code:
font-family
Code:
font-size
However, changing
Code:
color
How can I apply specific changes to either question or answer fonts in the css file?
Many thanks and kind regards
Wilhelm
Last edit: 6 years 5 months ago by william71.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
6 years 5 months ago #159681
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic How to set question font attributes in css file
Try adding something like this to the end of template.css:
Code:
.question-container .question-text, .question-container .answer-container { color: #000000; }
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- william71
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
6 years 5 months ago #159684
by william71
Replied by william71 on topic How to set question font attributes in css file
Hi, many thanks!
The following code did what I was referring to:
Kind regards
Wilhelm
The following code did what I was referring to:
Code:
.question-container .question-text { color: #000000; }
Kind regards
Wilhelm
The topic has been locked.