Welcome to the LimeSurvey Community Forum

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

Changing the default font type

  • angol2
  • angol2's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 9 months ago #156296 by angol2
Changing the default font type was created by angol2
Hello,

I wonder if there is a way to change the default font type in the default template. I usually work in Polish language and Polish unusual characters like "ą", "ę", or "ż" look differently when the default font is applied.

I can change the font in each and every question but it takes a lot of time. Perhaps there is a simplier way and Limesurvey's noble community can provide me wiht some hint ;)

Kind regards,
angol2
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 9 months ago #156303 by LouisGac
Replied by LouisGac on topic Changing the default font type
for admin panel you'll find a theme called "NOTO all language"
for frontend just update the CSS.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 9 months ago #156327 by tpartner
Replied by tpartner on topic Changing the default font type
If you're referring to fonts when survey-taking, you can upload your fonts to the /fonts directory of your template and then make some @font-face rules. Have a look at the beginning of flat_and_modern.css in the default template.

More on @font-face rules - www.w3schools.com/cssref/css3_pr_font-face_rule.asp

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 8 months ago #156387 by Joffm
Replied by Joffm on topic Changing the default font type
Hello, angol2,
adding something to Tony's reply:

I did this in some templates by using

@import url(" fonts.googleapis.com/css?family=Lato:400,700,400italic ");

or

@import url(" fonts.googleapis.com/css?family=Open+San...00italic,400,300,700 ");

and make sure that the font-family is changed everywhere in hardcoded sections like
Code:
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: angol2
The topic has been locked.
  • angol2
  • angol2's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 8 months ago #156739 by angol2
Replied by angol2 on topic Changing the default font type
Great, thanks so much!

Cheers,
angol2
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose