Affiliate Disclosure: Some links on this site are affiliate links, meaning I may earn a commission if you make a purchase through them—at no extra cost to you.

How To Add Custom Fonts To Your WordPress Website

December 4, 2020

WordPress

Looking to personalize your WordPress website with custom fonts? This guide focuses on using Google Fonts, offering two methods: leveraging the built-in options of the Page Builder Framework theme, and using the Google Fonts Plugin. You’ll gain control over your site’s typography, without needing to handle font files directly.

TL;DR

Custom fonts enhance your website's visual identity and branding.

This guide focuses on using Google Fonts for ease of use and wide selection.

Method 1: Use the Page Builder Framework theme's built-in Google Fonts integration (if you're using that theme).

Method 2: Use the "Fonts Plugin | Google Fonts Typography" plugin (for any theme).

Both methods allow you to customize the font for various text elements (body, headings, etc.).

Premium versions of both the theme and the plugin offer more advanced customization options.

Customizing your website’s fonts is a powerful way to establish a unique visual identity and enhance readability. This guide focuses on integrating Google Fonts into your WordPress site, providing two straightforward methods.

Why Google Fonts?

Google Fonts offers a vast library of free, web-safe fonts that are easy to integrate and optimized for performance. Using Google Fonts avoids the complexities of manually hosting font files and ensures cross-browser compatibility.

Method 1: Using Page Builder Framework (Theme Integration)

If you’re using the Page Builder Framework theme, Google Fonts integration is built-in, making this the simplest method.

Install and Activate Page Builder Framework

If you haven’t already, download the free Page Builder Framework theme from its official website. In your WordPress dashboard, go to “Appearance” > “Themes” > “Add New” > “Upload Theme.”

Choose the downloaded .zip file, install, and activate the theme. This theme is lightweight and highly customizable, especially when paired with a page builder like Elementor.

Accessing the Typography Settings

In your WordPress dashboard, go to “Appearance” > “Customize.” This opens the WordPress Customizer.

Navigate to “Typography.” Within the “Typography” section, you’ll find options to customize the fonts for different elements of your site.

Base Typography (“Text”)

  • Click on “Text” to customize the base font for your website’s body text.
  • Click the “Font Family” dropdown. You can search for a specific Google Font (e.g., “Balsamiq Sans”) or browse the available options.
  • Select your desired font and click “Publish” to save the changes.

Headings (H1-H6)

You can similarly customize the fonts for your headings (H1, H2, H3, H4, H5, and H6). Within the “Typography” section of the Customizer, you’ll find separate settings for each heading level.

  • Select the heading you want to modify (e.g., “H1”).
  • Choose your desired font from the “Font Family” dropdown.
  • Click “Publish” to save.

Limitations of the Free Version

The free version of Page Builder Framework provides basic font selection. For more advanced customization options (font color, responsive font sizes, line height, letter spacing, text transformations), you’ll need the premium add-on.

Method 2: Using the Google Fonts Plugin

If you’re *not* using Page Builder Framework, or if you want more granular control over your fonts, the “Fonts Plugin | Google Fonts Typography” plugin is an excellent solution.

Install and Activate the Plugin

In your WordPress dashboard, go to “Plugins” > “Add New.” Search for “Fonts Plugin | Google Fonts Typography” (by Fonts Plugin, with a distinctive logo).

Click “Install Now” and then “Activate.”

Accessing the Plugin Settings

Go to “Appearance” > “Customize” to open the WordPress Customizer. You should now see a new section called “Google Fonts.”

Basic Settings

Click on “Google Fonts” and then “Basic Settings.” Under “Base Typography,” you’ll find the “Default Font” dropdown.

  • Click the dropdown and select your desired font (e.g., “Roboto”).
  • Click “Publish” to apply the changes.

Advanced Settings (Pro Version)

The free version of the plugin offers basic font selection. The pro version unlocks more granular control, allowing you to customize font sizes, line heights, colors, and apply fonts to specific CSS selectors. It also includes optimization features for faster loading.

Controlling Specific Elements (Pro/Advanced)

With the Pro version, or using the “Additional CSS” section of the Customizer (Appearance > Customize > Additional CSS), you can target specific elements with CSS to apply different fonts. For example:

h1 {
  font-family: 'Open Sans', sans-serif;
}

h2, h3 {
  font-family: 'Montserrat', sans-serif;
}

p {
   font-family: 'Lato', sans-serif;
}

This code snippet (which you would add to “Additional CSS”) would set the H1 font to Open Sans, H2 and H3 to Montserrat, and the body text (p tags) to Lato. You’ll need to ensure the fonts you choose are loaded, either by selecting them in the plugin settings (if using the Pro version) or by ensuring they are loaded by your theme.

Conclusion

Adding custom fonts to your WordPress website is easy with Google Fonts and the methods described above. Whether you’re using the Page Builder Framework theme or the Google Fonts Plugin, you can significantly enhance your site’s visual appeal and branding by choosing the right typography. Consider upgrading to the premium versions for even greater control and customization options.