Changing the default font in the Moodle Standard theme
Written by James Richardson
I Moodle 2.3, the default font for themes can be changed to a more palatable font type. Occasionally, an administrator may want to change the theme font to accommodate their school, college or other educational facilities font for uniformity. The code on the core.css file can be edited to reflect this font change. The standard theme font looks like the snapshot to the right. This tutorial will explain how to change the default font in the Standard Moodle theme.
Changing the default font in the Moodle Standard theme
- Log into cPanel
- Navigate to the folder location of your theme through your File Manager. In this tutorial, the Standard theme font is being changed.
The file to edit for the Standard theme should be similar to the following:
/home/username/public_html/moodle/theme/standard/style/core.css
The location of the file will depend on the location of your Moodle installation.
Click the file and select Code editor.
Next, edit the code.
The default code looks like this:
body {font-family:Arial, Verdana, Helvetica, sans-serif;padding: 4px;} body.lang-vi {font-family:Arial, Verdana, Helvetica, sans-serif !important;}To change the font change the code similar to the following. (Make sure you make a copy of the line you are editing incase there are any mistakes made.) In this case we are using the Impact font.
body {font-family: impact: 4px;} body.lang-vi {font-family: impact !important;}
Log into the Moodle Dashboard and navigate to Site administration > Appearance > Themes > Theme selector.
Click Clear Theme caches.
Now the font for the entire Moodle site should change accordingly. In this tutorial the snapshot to the right will show what the theme looks like with Impact font.
This concludes the article for Changing the default font in the Moodle Standard theme.
Changing the Appearance of Moodle
Latest Questions
Need more Help?
Search
Ask the Community!
Current Customers
| Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |

