How to Change WordPress Fonts (Multiple Methods)

Fonts are an important element while creating a visually stunning WordPress website. Using the right font can change the look and feel of your website in a second. That is why it is important to know how to change WordPress fonts on your website. This font is compatible with most of the responsive WooCommerce WordPress themes.

This tutorial will demonstrate the simplest and most effective ways to add a custom font to a WordPress website. At the end of this tutorial, you can implement custom fonts on your WordPress website in seconds. 

 

2 Methods of How to Change WordPress Fonts

 

Method 1: Using Easy Google Fonts Plugin

Google fonts are widely popular and easy to use. In a few easy steps, you can use the Easy Google Fonts plugin to add your preferred Google font.

Step 1: 

First, we need to install the Easy Google Fonts Plugin. Hover on ‘Plugins’ from the WordPress dashboard and click on ‘Add New.’

add a custom font to a WordPress

Step 2:

Inside the WordPress plugin directory, search for the Easy Google Fonts plugin. Click to install and activate the plugin.

woocommerce themes

Step 3:

After activating the plugin, go to your theme customizer. For this tutorial, we are using the Astra theme, one of the most popular themes in WordPress

add a custom font to a WordPress

Step 4:

In your theme customizer, open the ‘Typography’ > ‘Default Typography.’ 

modern woocommerce themes

Step 5:

You will find many font options inside the typography section. You can select the Google fonts for each of your purposes individually. The Easy Google Font’s default typography settings allow you to customize fonts for headings and paragraphs.

add a custom font to a WordPress

Step 6:

Click on the ‘font family’ option in each section and choose the font you want. You will see a large list of all free Google fonts being displayed to choose from. Click on any font you like, and you will see the change in real-time.

wordpress woocommerce themes

Step 7:

Easy Google Fonts default control allows you to change the headlines and paragraph fonts. If you want to control texts of the different elements of your theme, you can create your own custom font controls. From the WordPress dashboard, hover on ‘Settings’ and click on ‘Easy Google Fonts.’ This step is similar to the best SEO themes for WordPress.

add a custom font to a WordPress

Step 8:

You will be taken to the ‘Create’ tab on the plugin’s settings page. For this tutorial, we will create a custom form control for the blockquote element. Type the name of your form control and then click on the ‘Create Font Control.’

woocommerce wordpress themes

Step 9:

Upon creating the custom form control, you will be taken to the ‘Edit’ tab, where you can customize the font control more. Type ‘blockquote’ or other selectors for the specific element in the CSS selector box.  Click ‘Save Font Control.’

add a custom font to a WordPress

Step 10:

After creating and saving our custom form control, open the theme customizer again and go to ‘Typography.’ This time you will see there is an additional typography section named ‘Theme Typography.’ Click to open the ‘Theme Typography.’

woocommerce themes for wordpress

Step 11:

Inside the theme typography, we will see the font controls for the Blockquote section we just created earlier. Now using this newly created Blockquote custom font control, you can easily change and control all the text related to the Blockquote element. Following this process, you can create custom form controls as many as you like. In that case, You can learn how to add a contact form on WordPress easily  

add a custom font to a WordPress

Method 2: Manually Add Google Fonts (No Plugin)

The second method to add a custom font to a WordPress website is about adding Google fonts to your WordPress website manually. This process is rather simple and requires no plugin. 

Step 1:

Visit the link fonts.google.com and click on a font of your likeness to implement in your website.

best elementor theme for woocommerce

Step 2:

Click on the font style ‘Regular 400’ to add it to the selected family list. Click on the ‘square +’ icon in the top right corner. 

add a custom font to a WordPress

Step 3:

Now copy the embed code as shown in image(1). You will need to paste it to the web page header design section of your WordPress website. You will also need the CSS code(2) to apply the font wherever you prefer.

woocommerce themes for wordpress

Step 4:

We will use the WPCode plugin to insert the embed code into the website header. That way, you do not need to alter the website’s source code. In the WordPress plugin directory, search for WPCode and install and activate it. WPCode supports all free modern and creative WordPress themes

add a custom font to a WordPress

Step 5:

From the WordPress dashboard, hover on ‘Code Snippets’ and click on ‘Header & Footer.’

best woocommerce theme elementor

Step 6:

You will be taken to the global header and footer section. Paste the embed code we copied earlier into the header section and click ‘Save Changes.’

add a custom font to a WordPress

Step 7:

Open any post in the block editor. Select a paragraph block and click on ‘Edit as HTML’ from the block toolbar. 

best premium woocommerce themes

Step 8:

Inside the <p> tag, type style=”font-family: ‘Aboreto’, cursive;” as shown in the image. Inside the style, the attribute is the CSS code of the font we copied earlier. Now click ‘Update’ to save changes and visit the page. 

Step 9:

We can see that we successfully changed the font of the text within the <p> tag with our chosen font. 

Conclusion

The methods mentioned above for adding custom fonts to your WordPress website are very effective. Using the plugin, you can implement any google font and create custom font control for specific modules. The second method is simple and effective and reduces website loading time as you are only using what you need, with no extra files. You can use any of these two methods to give your WordPress website a smart and elegant look. 

Feel free to check our article on how to add Google Recaptcha contact form 7 to get insight into the dynamic functionalities of WordPress.


Hi, I’m Mohamed. I share delicious recipes that I have cooked and loved. I’ve been food blogging for over 10 years and have a Diploma in Nutrition. You will find many healthy recipes as well as my favourite comfort food on the blog because I believe in a balanced diet.

Related Posts

Ultimate Top 10 WordPress Paywall Plugins 2023

Are you looking for the best WordPress Paywall Plugin? WordPress paywall plugins are widely available, although not all of them are top-notch. Paywall plugins help you promote…

Start Booking Process with Availability Calendar Since Appointment Booking 1.19.0

With the release of the MotoPress Appointment Booking plugin version 1.19.0, we’ve introduced several significant improvements and enhanced flexibility to the booking form widget. Additionally, we’ve fixed bugs and implemented…

Discover Top 17 WordPress Community Themes 2023

Community or social gathering is an amazing platform where you can share your thoughts or ideas with your people. Here WordPress Community Themes can play a vital…

Ultimate Top WooCommerce Dark Theme in 2023

WooCommerce dark themes are a good option if you want your website to have a contemporary, melancholy atmosphere. Dark themes are sinister and enigmatic, whereas light themes…

WooCommerce Variable Product Attributes Setup 2023

Are you worried about how to create Radio, Label, Color, and Image Variation Swatches for WooCommerce variable product attributes? If your WooCommerce store sells a variety of…

Top Google Tag Manager WordPress Plugins 2023

Google Tag Manager WordPress plugin is a tag management plugin that can help you to put or update tags on your website. Using it, you will be…