Changing the font in WordPress can help you customize the look and feel of your website. The right typography makes your content more readable, brings out your brand personality, and helps create a professional design.
In this article, we’ll cover several easy ways to change fonts in WordPress.
Use the Customizer
The easiest way to change fonts is through the WordPress Customizer:
- Log in to your WordPress dashboard
- Go to Appearance > Customize
- Select Typography on the left sidebar
- Change font options like:
- Headings font – for headings
- Base font – for body text
- Font size
- Font style – bold, italic etc.
You’ll see a live preview as you customize the fonts. Once you’re happy with the selections, click Publish.
Pros:
- Simple graphical interface
- Real-time preview
- Global font changes
Cons:
- Limited font options
- Need coding for advanced customization
Use a Plugin
Plugins like Easy Google Fonts give you access to thousands of font choices.
To use:
- Search and install the plugin
- Go to Appearance > Customize
- Find the plugin settings under Typography
- Select font family, size, style etc.
- Publish changes
Pros:
- Huge font library
- Easy to implement
- Typography controls in one place
Cons:
- Additional plugin required
- Potential performance impact
Edit Theme Files
You can add custom fonts by editing the theme files:
- Upload fonts to your server
- Enqueue fonts in
functions.php
- Define typography in
style.css
For example:
/* Enqueue fonts */
function custom_fonts() {
wp_enqueue_style( 'custom-fonts', get_template_directory_uri() . '/fonts/custom-fonts.css' );
}
add_action( 'wp_enqueue_scripts', 'custom_fonts' );
/* Define fonts in CSS */
body {
font-family: 'My Custom Font', sans-serif;
}
Pros:
- Complete control
- Customize individual elements
- Add unlimited fonts
Cons:
- Requires coding skills
- Modifies core files
Use CSS Editor
Most WordPress themes have a CSS editor to add custom CSS without changing theme files.
To use:
- Go to Appearance > Customize
- Find the Additional CSS section
- Add CSS to define fonts
For example:
body {
font-family: 'My Custom Font', sans-serif;
}
Pros:
- Easy to use
- No coding skills needed
- Don’t modify theme files
Cons:
- Limited features
- CSS knowledge required
- Global font changes only
Conclusion
Changing fonts in WordPress is easy once you know where to look. For basic font changes, use the Customizer or plugins. For advanced customization, edit theme files or add custom CSS.
The right typography makes your content shine while reinforcing your brand. Take some time to explore different font options and see how they influence your website’s personality.