Changing the default font type

More
4 years 11 months ago #156296 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
4 years 11 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.
More
4 years 11 months ago #156327 by tpartner
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.
More
4 years 11 months ago #156387 by Joffm
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
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.
More
4 years 11 months ago #156739 by angol2
Great, thanks so much!

Cheers,
angol2
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now