Table of contents
Get the industry’s fastest hosting for WordPress◦ 99.999% uptime
◦ Comprehensive security
◦ Support

WordPress GuideBuild → Change Font

How to change a WordPress font

Fonts are a great way to make your website stand out and infuse your brand personality into it. And they have a strong impact on how your brand is received.

In fact, 73% of all Fortune 500 companies use sans-serif fonts in their logos, likely due to their greater legibility and more minimal appearance.

Most WordPress themes have built-in options to change default fonts, at least within a few pre-selected choices. But this is not always the case.

There are some additional options for changing fonts in WordPress if your theme doesn’t offer a font that you want, and that’s precisely what we’ll discuss here today.

Why change your WordPress font?

Changing the default WordPress font isn’t just about aesthetics—it’s a strategic decision that can significantly impact your website’s performance in several key areas:

When your WordPress site uses unique, purposeful typography rather than default fonts, you’re making a statement about your brand’s attention to detail and commitment to user experience.

How to choose fonts for your WordPress site

Before we get into the tutorial, let’s first discuss how the process of font selection typically goes and what you should keep in mind when choosing a font.

It’s best to:

With these tips in mind, we can move on to the process of changing fonts in WordPress.

How to change fonts in WordPress

WordPress offers several ways to change your site’s fonts, from simple built-in options to more advanced customization methods. Let’s explore each approach so you can choose the one that best fits your needs and technical comfort level.

Using built-in options

The WordPress block editor (Gutenberg) comes with some basic typography controls that let you adjust fonts without any technical knowledge:

Using theme customization options

The easiest way to change fonts in WordPress is by using the Live Customizer. All you have to do is:

In some cases, your WordPress theme might use a separate theme options panel for font customization. In that case, you can change the fonts using the settings provided there. If you have questions, be sure to reference your theme’s documentation.

Using a page builder

Page builders provide an intuitive interface for customizing your site’s appearance, including fonts. Popular options include:

With page builders, you can browse through numerous template options to find one that includes a font selection and color palette that matches your company’s or personal branding and style.

Using plugins

When built-in options don’t provide enough flexibility, plugins can expand your typography capabilities:

But what if you want to add new fonts to WordPress — not just select from the options provided by your theme or page builder? There’s a solution for that, too.

How to add fonts to WordPress

Sometimes you’ll want to go beyond the standard font options in your theme and introduce completely new typefaces to your WordPress site. Here’s how to add custom fonts to your WordPress website.

Using the Full Site Editor

The Full Site Editor provides the easiest method for adding new fonts to your WordPress site. You can upload them in supported formats like .ttf and .otf, or you can connect your site to Google Fonts and access its vast library.

Whatever your preferred route, here’s how to do it:

1. From your admin dashboard, go to Appearance > Editor to open the Site Editor.

2. Click on Styles, then the pencil icon to edit your styles.

3. From the menu on the right, click Typography.

4. Click the settings icon next to Fonts to open the font manager.

How to access the WordPress FSE font manager

5. If you already have a font file you want to add, use the Upload tab. Otherwise, use the Install Fonts tab to connect to allow access to Google Fonts in one click.

Accessing Google Fonts via WordPress

Using plugins

Font plugins offer the easiest way to expand your typography options without any coding knowledge.

Easy Google Fonts

Easy google fonts for wordpress

Easy Google Fonts is a popular choice that gives you access to Google’s extensive font library:

The plugin interface makes font selection intuitive, and you can preview changes in real-time before applying them to your live site.

Use Any Font

Use any font WordPress plugin

For fonts that aren’t available through Google, Use Any Font allows you to upload custom font files directly to your WordPress site:

This approach works well when you have purchased custom fonts or need to use your organization’s proprietary typefaces.

Custom font upload

For those comfortable with code, you can manually add custom fonts to WordPress. This method gives you complete control and avoids plugin dependencies.

Supported file formats

When adding custom fonts, ensure they’re in web-compatible formats:

Implementation

Here’s how to add custom fonts manually:

1. Prepare your font files: Convert your fonts to web formats using a service like Transfonter or Font Squirrel

2. Upload your font files: Add them to a /fonts/ directory in your child theme

3. Enqueue the fonts: Add this code to your child theme’s functions.php file:

function enqueue_custom_fonts() {
  wp_enqueue_style('custom-fonts', get_stylesheet_directory_uri() . '/fonts/fonts.css');
}
add_action('wp_enqueue_scripts', 'enqueue_custom_fonts');

4. Create a fonts.css file: Define your @font-face rules:

@font-face {
  font-family: 'YourFontName';
  src: url('yourfont.woff2') format('woff2'),
       url('yourfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

5. Apply your fonts: In your style.css file, use your custom font:

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

For Google Fonts specifically, the process is even simpler:

1. Select a Google font. Click the + icon next to it, then copy the link to the font.

2. Open your theme’s functions.php file. Paste in a code snippet containing your font’s link. Save your work.

3. Open the style.css file. Add custom CSS code to style whichever elements you’d like the font to be applied to.

FAQs about changing WordPress fonts

1. How do I change font size in WordPress?

You can change font size in WordPress through several methods:

Remember that different methods may affect different parts of your site, so choose the approach that best fits your specific needs.

2. Will changing fonts affect my site’s performance?

Yes, adding custom fonts can impact your site’s performance, but the effect can be minimized:

With proper optimization, the performance impact of custom fonts can be kept to a minimum while still enhancing your site’s appearance.

3. How do I change fonts in my WordPress menu/header?

To change fonts specifically in your WordPress menu or header:

For the most precise control, use the browser inspector tool to identify the exact CSS classes of your menu and header elements, then target those in your custom CSS.

Additional resources

How to build a WordPress site →

A complete beginner’s guide that covers 9 key steps to a successful launch

Beginner’s guide to WordPress plugins →

A simple definition, examples of our favorites, how to use them, and more

What is managed WordPress hosting? →

What it really looks like, benefits, and how to decide if it’s for you

Woman smiling in front of a purple background

Maddy Osman is a WordPress expert, WordCamp US speaker, bestselling author, and the Founder and SEO Content Strategist at The Blogsmith. She has a B.A. in Marketing from the University of Iowa and is a WordCamp Denver organizer.