Jump to content

Recommended Posts

Posted

Evening People,

 

We've found a way of embedding Google fonts in our Moodle 1.9.7 courses through the use of a bit of javascript (taken from the Google fonts site) and some iinline stylesheet codes.

 

I"m wondering if anyone has found a way of embedding two Google fonts in a web page using the Javascript files?

 

Here is the first one we use:

 

 

This is followed by the following codes:

 

 

Our next step is to find if we can use two different fonts. Alas I cannot find a way of doing it and wondered if anyone has seen a way?

 

Many thanks

 

Gareth

Posted

Change the google line to add the other font you would like seperated by a comma eg:

google: { families: [ Open+Sans:300italic,400italic,600italic,700italic ,800italic,400,700,300,600,800:latin', 'Eater::latin' ] }

  • Thanks 1
Posted

Hi @TechMonkey,

 

Thanks for that - managed to work it out last night. Great idea from Google and it works on an LEA controlled Moodle where we have no access to the backend/installation of stylesheets.

 

Gareth

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...