Test your skills on our all Hosting services and get 15% off!

Use code at checkout:

Skills
21.10.2024

How to change the font size in WordPress

Changing the font size on a WordPress site can improve readability and enhance the design. WordPress offers several ways to change the font size depending on your needs and technical skills. Here’s a step-by-step guide on how to change the font size in WordPress using the built-in editor, plugins, or custom CSS.

Method 1: Using the block editor

If you use the Gutenberg block editor (introduced in WordPress 5.0), changing the font size for individual content blocks is easy.

Steps:

  1. Log into yourWordPress dashboard and navigate to the post or page where you want to change the font size.
  2. Select the block of text you want to change (for example, the “Paragraph” block).
  3. In the right sidebar, find the block settings. If it is not visible, click the gear icon in the upper right corner to open the settings panel.
  4. On the ” Typography” tab, you will see options for setting the font size.
    • You can choose from preset sizes, such as small, regular, medium, large, or huge.
    • If you want a custom size, click “Custom ” and enter the desired font size in pixels (e.g. 18px, 24px).

This method is handy if you want to change the font size for certain parts of the text without affecting the entire site.

Method 2: Using a plug-in

If you want to change the font size throughout the site or get more control over font styles without writing custom CSS, using a plugin is a great option.

Recommended plugin

  1. Install the plugin:
    • On your WordPress dashboard, go to Plugins > Add New.
    • Find Easy Google Fonts and click Install Now, then activate the plugin.
  2. Adjust the font size using the adjuster:
    • Go to Appearance > Customize.
    • Select Typography from the menu.
    • Select the part of the site you want to change (e.g. body, headers, etc.).
    • Adjust the Font Size slider to increase or decrease the font size for each section.

This plugin allows you to change the font size throughout the site and provides a simple interface for customizing typographic settings.

Method 3: Using theme customization

Many WordPress themes come with built-in typography options that allow you to change the font size through the theme customization tool.

Steps:

  1. Go to Appearance > Customise from your WordPress dashboard.
  2. Find the Typography or Fonts option in the Customiser menu (depending on your theme).
  3. You’ll likely have options to change the font size for body text, headings, and other elements.
  4. Adjust the sliders or input boxes to change the font size, then click Publish.

If your theme supports this feature, this is the easiest way to make changes to your site without using a plugin or custom CSS.

Conclusion

Changing the font size in WordPress can be done in several ways depending on your goals. For small changes, the Gutenberg block editor is ideal. If you want to adjust the font size for the entire site, the Easy Google Fonts plugin or your theme customizer are ideal. For advanced control, adding custom CSS is the most flexible option.

Test your skills on our all Hosting services and get 15% off!

Use code at checkout:

Skills