Change default font in moodle 3.3.2

Change default font in moodle 3.3.2

by Elaheh Abolhassani -
Number of replies: 5

Hi!

I want to change moodle default theme font. I tried this but it didn't work. I tried to change theme css and add fonts but nothing worked! I searched web but I couldn't find any useful tutorial or something. Any help would be aprreciated.

Average of ratings: -
In reply to Elaheh Abolhassani

Re: Change default font in moodle 3.3.2

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

The Default font-family is set in the main theme, which in Moodle 3.3 is Boost theme. However, you can change this, in the Custom CSS settings page of the theme you are using, to whatever font-family you prefer.

All you need to add is this:

body { font-family: 'DejaVu Sans' ; }

or whatever font-family name you prefer...

Hope this helps?

Mary

In reply to Mary Evans

Re: Change default font in moodle 3.3.2

by Elaheh Abolhassani -
Thanks! You were right! I made so many other changes but what you said was correct. I also had a problem in identifying my font location. I corrected these 2 and it works now smile
Average of ratings: Useful (1)
In reply to Mary Evans

Re: Change default font in moodle 3.3.2

by A Banki -
What is the name of the default font family in Moodle? 

I changed the font; now I want to revert back, but can't figure out what the original was...


Thank you