garethEds Posted June 13, 2012 Posted June 13, 2012 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
TechMonkey Posted June 14, 2012 Posted June 14, 2012 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' ] } 1
garethEds Posted June 14, 2012 Author Posted June 14, 2012 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now