change-theme-font 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

  1. Log into cPanel
  2. 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.

  3. change-theme-font-1-moodleClick the file and select Code editor.
  4. change-theme-font-2-moodle 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;}

  5. change-theme-fontLog 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.

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm James Richardson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. zone shipping
  2. How do I stop Outlook clients from getting this warning?
  3. how to make editable order in admin in opencart?

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!