Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Blogging & content · Guide

How to Change Font in WordPress Text Block (Step by Step)

How to Change Font in WordPress Text Block (Step by Step)

Short answer

Select the Paragraph block, open the Styles tab in the settings sidebar and use the Typography panel. Pick a preset or custom font size, and switch on the Font option in the panel menu to choose a font family. Use global styles to change every paragraph at once.

Key takeaways

  • Font size and family for one block live in the Typography panel.
  • Switch on hidden font options from the panel's three-dot menu.
  • The Font Library adds uploaded or Google fonts in block themes.
  • Global styles change every paragraph that has no override.
  • Classic themes may need Customizer settings or CSS.
  • Limit your site to two font families for speed and readability.

How do I change the font in a WordPress text block?

Select the Paragraph block, open the settings sidebar, go to the Typography panel, and pick a font size or, from the panel's three-dot menu, a font family your theme or Font Library provides.

That changes the font for one block only. To change every paragraph on the site, use global styles instead. Both methods are covered below.

Before you start, know what your setup supports:

SetupFont sizeFont familyWhere
Block theme, block editorYesYesBlock sidebar or Styles
Classic theme, block editorUsuallySometimesBlock sidebar, Customizer
Classic Editor pluginLimitedNoPlugin or CSS needed
Page builder such as ElementorYesYesBuilder's widget settings

If you use Elementor, read how to change font in WordPress Elementor instead, because its controls are separate.

How do I change the font size of one paragraph?

Click the paragraph, open Styles in the sidebar, and choose a preset size such as Small, Medium or Large, or click the custom size icon to type an exact value.

Step by step:

  1. Open the post or page in the editor.
  2. Click inside the paragraph you want to change.
  3. If the sidebar is closed, click the Settings icon at the top right.
  4. Switch to the Styles tab.
  5. In Typography, pick a size from the preset buttons or slider.
  6. For an exact value, click the Set custom size icon and enter a number with a unit, such as 18px or 1.2rem.
  7. Save or update the post.

Presets come from your theme. They keep sizes consistent across the site, so use them when you can. For more on sizes, see how to increase font size in WordPress.

How do I change the font family of one text block?

Open the Typography panel's three-dot menu, switch on Font, then choose a font from the dropdown that appears; only fonts registered by your theme or installed in the Font Library show up.

Steps:

  1. Select the Paragraph block.
  2. In Styles > Typography, click the three vertical dots in the panel header.
  3. Tick Font (some versions call it Font family).
  4. A dropdown appears in the panel. Pick the font.
  5. Use the same menu to show Appearance for weight and style, Line height and Letter spacing.

If the dropdown only shows one or two fonts, your theme registers only those. You can add more through the Font Library, covered next.

If you see no Font option at all, your theme does not allow font family changes per block. You will need global styles, the Customizer, or CSS.

How do I add new fonts to choose from?

In a block theme, open Appearance > Editor > Styles > Typography, click the fonts option to open the Font Library, then upload a font file or install one from Google Fonts.

The Font Library arrived in WordPress 6.5. It lets you:

  • Upload font files such as .woff2 from your computer.
  • Install fonts from the Google Fonts collection after giving permission to connect.
  • Activate font variants, such as regular, bold and italic.

Installed fonts are stored on your own server, so visitors do not load them from Google. That helps privacy and avoids an extra connection. See how to host Google Fonts locally for why this matters.

Browse font choices on Google Fonts first, and note the weights you need. Installing every weight adds files you will not use.

For classic themes and more methods, read how to add fonts to WordPress.

How do I change the font for all paragraphs at once?

Go to Appearance > Editor > Styles, open Blocks, choose Paragraph, and set the font family and size there; every paragraph without its own override then uses that font.

There are two levels of global change:

  • Site-wide text. In Styles > Typography > Text, set the font for all body text.
  • Paragraph blocks only. In Styles > Blocks > Paragraph > Typography, set it just for paragraphs.

Blocks where you set a font by hand keep that setting. If one paragraph refuses to change, select it and click Reset in its Typography panel.

The rules behind this come from theme.json, covered in the global settings and styles handbook. Developers can register font families and size presets there so editors only see approved choices.

To learn what you started with, see what is the WordPress default font.

How do I change fonts in a classic theme?

In a classic theme, look for font options under Appearance > Customize, often in a Typography or Fonts section; if there are none, add CSS or use a typography plugin.

Many classic themes such as Astra, GeneratePress and OceanWP include font controls in the Customizer. Others have none.

For a CSS approach, open Appearance > Customize > Additional CSS and add:

.entry-content p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

The class name varies by theme, so inspect the page with your browser tools to check. MDN's font-family reference explains fallback fonts, which display if the first font fails to load.

The block editor's per-block typography controls still work in many classic themes, though fewer options may appear.

How do I style just one sentence or word?

The block editor has no font family option for part of a paragraph, so use inline formatting such as bold, italic or highlight, or wrap the text in a span with a custom class using Edit as HTML.

Built-in inline options in the toolbar's dropdown include:

  • Highlight, which sets text or background color for selected words.
  • Inline code, which uses a monospace font.
  • Keyboard input, Subscript and Superscript.

For a different font on a few words, open the block's three-dot menu and choose Edit as HTML. Wrap the words in <span class="accent-font"> and add CSS for .accent-font. Keep this rare, because mixed fonts inside a paragraph hurt readability.

To change color on selected words, see how to change font color in WordPress.

What if I use the Classic Editor?

The Classic Editor has no font family dropdown and only basic paragraph formats, so you need a plugin that extends the toolbar or CSS to change fonts in text.

TinyMCE-extension plugins such as Advanced Editor Tools can add a font size and font family menu. Check the plugin page for current features before installing.

These inline font choices are stored inside the post HTML. If you change themes later, they stay behind and can look wrong. CSS in the theme or global styles is easier to manage long term.

If you only switched to the Classic Editor by habit, consider trying blocks again. How to go back to the classic editor also explains how to switch between both.

Why won't my font change in the text block?

Font changes fail when the theme's CSS overrides block settings, a cache serves old styles, the font is not installed, or a hand-set block style overrides your global change.

Work through these checks:

  • Clear caches. Page cache, browser cache and CDN can all show old CSS.
  • Check the front end and editor. Some themes style the editor differently from the live site.
  • Check for overrides. A block-level font beats a global style. Reset the block.
  • Check font activation. In the Font Library, make sure the font and needed weights are active.
  • Inspect the CSS. Use your browser's developer tools to see which rule wins.

For a deeper look at every typography control, see WordPress block settings explained. The official Paragraph block documentation also lists each option.

Which method should I use?

Use the block's Typography panel for one-off changes, global styles for consistent site-wide fonts, the Font Library for new fonts, and CSS only when your theme gives you no controls.

A simple rule: change fonts as high up as possible. Global styles first, then block type, then single blocks. That keeps the site consistent and makes future redesigns easier.

Limit yourself to two font families, one for headings and one for body text. More than that slows the page and looks messy. For a site-wide approach, read how to change font in WordPress.

Frequently asked questions

Why is there no font family option in my Paragraph block?

Your theme may not enable per-block font family changes, or the option is hidden. Open the Typography panel's three-dot menu and look for Font. If it is missing, change fonts through global styles, the Customizer or CSS instead.

How do I add Google Fonts to the block editor?

In a block theme, open Appearance, Editor, Styles, then Typography and open the Font Library. Allow the Google Fonts connection, install the font and the weights you need, and it becomes available in block typography dropdowns.

Can I change the font of a few words only?

The editor has no font family control for part of a block. You can use highlight, inline code or bold from the toolbar, or open Edit as HTML, wrap the words in a span with a class and style that class with CSS.

How do I change the font for all text blocks?

Go to Appearance, Editor, Styles, open Blocks and choose Paragraph, then set the font family and size. Every paragraph without its own font setting updates. Reset any block that still shows the old font.

Why does my font look different on the live site?

The editor and front end can load slightly different CSS, and caching may serve an older stylesheet. Clear all caches, then inspect the live page with browser developer tools to see which CSS rule sets the font.

Sources

  1. Paragraph block WordPress.org Documentation
  2. Global settings and styles WordPress Developer Resources
  3. font-family MDN Web Docs
  4. Google Fonts Google

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.