It was later clarified that this font was desired for all content on the site and for the custom certificates. So,
1. For adding custom fonts to course content and body text, I believe the method is to edit the CSS of the current theme, as mentioned here -
In our case, the theme is Moove.
2. For the custom certificate plugin, the method followed - adding the font using "Manage PDF fonts" using the TCPDF plugin, is the method we have followed earlier.
So it should be working for creating custom certificates.
For changing the font in the theme, it is relatively easy to implement if we were to change all content to use this font.
Site administration → Appearance → Additional HTML
and I've added inside the "Within Head" box
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=ABeeZee&display=swap">
and inside the Moodle theme (which is used on our sites) advanced settings box, (which has the url oursite.org/admin/settings.php?section=themesettingmoove#theme_moove_advanced )
body {
font-family: 'ABeeZee', sans-serif !important;
}
(which makes the entire body of the html page into ABeeZee.)
This was implemented for two of our sites after first trying it on our development instance.
No comments:
Post a Comment