company logo

Help center

Go to Teachery
All collectionsDesignAdd any Google Font to a Course

Add any Google Font to a Course

Choose your favorite Google Font and add it to your course

There are three different ways you can add Google Fonts to your Course or Theme:

  1. Set one of our 50+ pre-selected Google Fonts as your overall course font

  2. Use our Global Font Palette (🅰 below) and add any Google Font to your course and apply different Google Fonts to your Body, Heading 1, H2, H3, etc font styles

  3. Use our Add Custom CSS area (🅱 below) for maximum customization

🅰 How To Use the Global Font Palette

🕵‍♂️ Step #1: Find your Google Font(s)

The first thing you'll want to do is head to Google Fonts and select your font(s).

Once you have your font(s) selected, all you need to do is copy the <link> code by clicking the Get font > Get embed code buttons.

info icon
You can add up to 5 Google Fonts at a time to the Global Font Palette.

👌 Step #2: Add Google Font Code and Set Your Fonts

While editing any Course or Theme, click into the Style Your Course section of the left sidebar, then click Global Font Palette.

Click the Add Google Font button under the font styles and then paste the <link> code from Google. Hit the Save button and you'll now have a "Your fonts" section in the font dropdown menus.

Set your Body, H1, H2, etc fonts, sizes, and Save and you're all done! ✅

warning icon
If you are previewing pages of your course on the right side of the Teachery editor, but you're not seeing the Global Font styles being applied, you'll need to edit those course pages and either remove previously added in-line text styling OR highlight the text and set it to a heading style (H1, H2, etc) so the font will be applied.

🅱 How To Use the Add Custom CSS Area with Google Fonts

🔍 Step #1: Find your Google Font

You may already have a font selected, but if not, just head to the Google Font library and poke around.

success icon
Hot-Tip: If you like to find newer, lesser-known fonts, change the sorting option from "Trending" to "Newest." This will give a list of fonts that aren't being used everywhere by everyone!

🤘 Step #2: Select the Font and grab the Link Code

info icon
For this example, we're going to show you adding the Google Font "Oi" to your course. We would NOT recommend such a bold, hard-to-read font. We used this font as an example because it's very easy to see it change!

You're going to select the font and grab the link code which we'll add to your course in Step #3.

  1. When you're on the font's page, click the "Select this Style" button in line with the font (if there are multiple font weights, you'll want to choose the one font weight you want.)

  2. Then, click the "Selected Families" icon which is in the top right (the icon has 3 squares and a + sign).

  3. Scroll down to the Use on the web section, make sure <link> is toggled, and then copy the lines of code.

Oi Google Font example link code:

<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Oi&display=swap" 
rel="stylesheet">

🍎 Step #3: Add Google Font Code to Your Teachery Course

The code you just copied from Google Fonts we're now going to add to the Add Custom Font Script code area of your course's Manage Options page. Here's how to do that:

  1. Click in to edit your course from the Courses page

  2. In the left sidebar, scroll down to Course Settings, click to expand, and then click Manage Options

  3. In the Manage Options page, scroll down to the "Add Custom Font Code" section and paste the Google Font code!

  4. Make sure to click the Save Options button ✅

warning icon
NOTE: This step is ONLY telling Teachery there's a Google Font you want to use. Next, we have to assign specific text in your course to display the font (that's Step #4!)

👾 Step #4 Add simple CSS to display the Google Font in your Course

Writing any custom CSS can be really tricky, so we've tried to give you some sample CSS below that you can interchange easily!

You're going to be using our simple CSS editor, which you can find in the Style Your Course section of the left sidebar editor. Once you expand the Style section click on the Add Custom CSS option. You are now in the CSS editor!

👉 For the headings (H1, H2, H3, and H4) of EITHER Teachery Course Template

If you're using the Sidebar or Default Course Template, this code will apply your Google Font to all the Headings through all pages of your course (Overview, Lessons, Landing, Payment, and Login Pages):

.imitate-h3, h1, h2, h3, h4, h1froala, h2froala, h3froala, h4froala 
.imitate-h2-template-2 {
    font-family: 'Oi' !important;
}

⬆ In the code snippet above, you'll simply replace Oi with the name of your selected font. For example, if you are using the Google Font Fredoka, you'd have 'Fredoka' in your CSS instead of 'Oi'. Leave the !important part in the CSS code as that is needed to override Teachery's fonts.

Here's what your CSS should look like CSS editor:

➡ Don't forget to click Apply Changes AND Publish Changes in the CSS editor!

error icon
IMPORTANT: You will NOT see the Google Font in the course editor view. You'll ONLY see the font display in the Custom CSS page OR when you preview your course.

❇ BONUS: How to apply Google Fonts to other text areas in your course

For any OTHER areas of your course where you want to apply your Google Font, you'll need to use the browser Inspector and grab the CSS class(es) and add it to the CSS code.

Here's a video walking you through that process. In the example in the video, we walk you through adding a second Google Font for your Overview page buttons:

If you want the quick CSS to grab to update your Overview page buttons on the Default Course Template, here is that CSS (remember to change your font-family).

#lessons-page .lesson .button  {font-family: 'Train One' !important;}


Hope this helps you customize your course to your liking! 👋

Did this answer your question?
😞
😐
😁