Google/Custom Fonts and GDPR
Site administration -> Appearance -> Monocolor -> Advanced settings -> Font files
Learn more about self-hosted fonts.
1. Files to upload -> Advanced -> fontfiles
2. TTF, OTF, WOFF, WOFF2 or SVG Converter
Explanation:
Learn more How to use @font-face in CSS -> https://css-tricks.com/snippets/css/using-font-face-in-css/
Raw SCSS to add
Change 'YOURURL' to the real one eg. for local environment:
Of course, if you are using Moodle File Manager. If not, probably you know what you doing :)
localhost/....
https://url.com/...
How to find Google Font files?
Go to Google or DuckDuckGo and search e.g "google fonts poppins github"
Step by step
Get your custom/Google font. The layout is based on 3 font weights. Regular (400), Medium (500 or 600), Bold (700, 800 or 900). a. If you are using italic style, then you have to upload italic font variants for all font weights.
Sometimes, users don't want to use medium weight. If it is your case, remember to set the Font weight: Medium to 400 (Monocolor -> Customization -> Google Font -> Font weight: Medium)
Set the Font Name (Monocolor -> Customization -> Google Font - Font Name (Body))
Upload the font package (Monocolor -> Advanced -> Font files)
Save changes
Last updated