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

More
8 years 11 months ago - 8 years 11 months ago #159675 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":
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
, and
Code:
font-size
affected both questions and answers.
However, changing
Code:
color
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
Last edit: 8 years 11 months ago by william71.
The topic has been locked.
More
8 years 11 months ago #159681 by tpartner
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.
More
8 years 11 months ago #159684 by william71
Hi, many thanks!

The following code did what I was referring to:
Code:
.question-container .question-text { color: #000000; }

Kind regards
Wilhelm
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose