Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Font settings for the entire questionnaire

  • simatz
  • simatz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago - 4 years 3 months ago #192366 by simatz
Hello, thank you for all your help. I have another question. I want to change font settings (size, color etc..) for the entire questionnaire. Now I have a lot of questions and I don’t want to do it question by question. I tried to do it through “Theme editor” but I guess I'm doing something wrong. Is it even possible?
I'm using fruity theme.
Thanks a lot!
Sima
Last edit: 4 years 3 months ago by simatz.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago #192367 by Joffm
Replied by Joffm on topic Font settings for the entire questionnaire
Yes, you are probably doing something wrong.
Unfortunately you didn't show us what you tried to do.

So, if you want to use a google font you get the explanation after you selected the font:


Now you add this to your custom.css
Code:
@import url('https://fonts.googleapis.com/css?family=Pacifico&display=swap');
body {
font-family: 'Pacifico', cursive !important;
}

The result will be (here an extended fruity theme)


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: cdorin
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago #192369 by Joffm
Replied by Joffm on topic Font settings for the entire questionnaire
And to add something.
If you only want to use built-in fonts and change size and color, you set the font in theme options.
The sizes and colors you set in your custom.css,
either be y setting the size and color in each relevant class absolutely
or set a general size in "body" and use percentages like
body {
font-size:20pt;
}
.question-title-container, .question-valid-container {
font-size:50%;
color: #c4d7ed;
}
.answer-container {
color: #375d81;
font-size: 30%;
}


This is up to you.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: simatz
The topic has been locked.
  • simatz
  • simatz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago #192372 by simatz
Replied by simatz on topic Font settings for the entire questionnaire
Great! thanks
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose