Custom font in a moodle theme
updates to the "theme" plug-in remove the changes I made to the font on my site https://johnkuti.net/
My chosen theme "Trema" https://moodle.org/plugins/theme_trema uses fonts that don't have Cyrillic letters in them. This means that the parts written in Russian just fall back to whatever is the default in the user's browser. Often making for an unhappy juxtaposition with the Latin font they chose - "Lato".
To correct this:
- upload the chosen font (as a zip file) and put the files in tema/fonts... my choice is the sans serif font Montserrat
- change the font family in the file scss/trema/main.scss
- change all the instances of "lato" replacing them with "montserrat" in the file theme/trema/scss/fonts.scss
This is part of series called Practical notes on Moodle