How to add custom fonts to WordPress
Hello WordPress lovers! In today’s blog post, I am showing you how to add custom fonts to your WordPress website.
Today’s tutorial is part of our Series Master WordPress.
Here’s an overview of all blog posts from this series:
How to add custom fonts to WordPress ( this post)
Fonts are an important part of your website’s design and can help you perfect your overall branding experience. Each WordPress theme comes with different layout and design options, but more often you have a pre-defined font. There’s an easy way to change it. Follow my step-by-step guide below.
Note: For the purposes of this tutorial, we will be using a free plugin which makes use of Google Fonts. Google Fonts is a free service offered by Google, which gives you access to hundreds of free fonts. Most website developers use Google Fonts as they are reliable and well, you don’t need to pay anything! 😉
If you want to use fonts that are not part of the Google Fonts library, then this tutorial is not for you.
Step 1 Download the Easy Google Fonts Plugin
While there are several different ways of adding Google fonts, the easiest way for a non-coder is to add it through a plugin. My favorite plugin is called Easy Google fonts. I love this plugin not only because it’s easy to use, but because it comes with tons of features like realtime preview, custom font controls, possibility to group fonts together and many more- and best of all- it doesn’t require ANY coding skills. Yay!
Log into your WordPress Dashboard and go to Plugins> Add New. After that, type in Easy Google Fonts in the search bar. Locate the plugin and click on Install Now. After that, activate it.
Step 2: Create a font control
In your Dashboard, go to Settings and locate Google Fonts. After clicking on it, you should see the following window:
Start by creating a new “font control”. You can name it however you want. After that, click on Create Font Control.
Make sure to check the Force Styles Override option which will basically make your WordPress theme use the fonts that you will define in this plugin.
Step 3: Customize the fonts on your website
Go to Appearance> Customize from the main dashboard. The customization panel will appear. You will notice that the plugin has added a new customization option called Typography.
Click on it in order to explore all settings. Since the plugin offers real time preview, you can play around with the fonts and see which combination you like best.
Here’s how I would change the blog post headlines for Lipstick and Pixels:
In addition, you can specify the font weight, add text decoration and a bunch of other features. You should feel free to experiment with all those features in order to achieve the results that you are looking for.
One last thing I want to point out is that there are multiple tab controls for each font style. Make sure to check out the Appearance section where you can change the color of the fonts!
From this panel, you can adjust the font size, line height and the letter spacing of the fonts used. You can preview every single feature and nothing will get saved until you click on Save & Publish button at the upper left corner.
In case you want to go back to the default theme settings, simply click on the Reset text button.
If you don’t have any coding skills and want to change the look and feel of your WordPress website within a few minutes, this might be the fastest and easiest way! However, Warning: I don’t recommend using more than 2 different font styles in your website. It will not only make your website look messy, but might also slow it down. ( and we most certainly don’t want that!)
I hope you enjoyed today’s tutorial! If you did, I would love it if you share this post with your friends 💖