How to Change Fonts in WordPress

The font size of your WordPress posts and pages can be altered. You may want to enlarge a line or a paragraph, or you may want to increase the font size across the board. Here, we’ll show you how to change fonts in WordPress website. In addition to learning how to alter the font size in your WordPress posts, you’ll also learn how to adjust it on your website.

More From Us: 15 of the Best WordPress Plugins for Marketing in 2022

Method 1: Making Use of Headings

  1. It just takes a few seconds for a visitor to decide whether or not to stay on your website. There is a short window of opportunity for you to persuade them to stay on your site.
  2. If you want your content to stand out from the crowd, consider including compelling headlines.
  3. Subheadings allow you to divide your articles and pages into distinct sections by utilizing a variety of headings.
  4. SEO also benefits from headlines. Separately, text headings and paragraphs receive more points from search engines than they would otherwise.

In the Default WordPress Block Editor, How Do You Add a Title?

  1. You can use the “Heading” block to give your posts and page titles. It can be found in the “Shared Blocks” section of the WordPress block editor, or you can search for it.
  2. There’s no doubt about it: Title 2 is the target of this block. The “H2” drop-down option allows you to select a different size if you prefer.
  3. Change the variety of blocks displayed in the right-hand half of the screen’s block settings to your liking.

Method 2: Modifications to Block Editor Font Size

  • WordPress’s built-in block editor makes this task a cinch. Click on any paragraph block to bring up the “Text Settings” menu, where you can adjust the font’s size.
  • You can select from a drop-down menu of small, regular, medium, and large. The “Reset” option can be used to revert your paragraph to the default text if you change your mind.
  • You can also choose a custom pixel size in the “custom” drop-down menu. You can also use a big Drop Cap at the start of your paragraph if you want.
  • The old WordPress editor does not have these options. WordPress has to be updated if you plan on using them.

Method 3: Altering the font size with CSS is a third option.

For those of you who don’t want to waste time resizing fonts one by one, this article is for you.
Because of this, you can customize the default size of your paragraphs across the board. The Theme Customizer in Appearance and Customize is the best tool for this.
WordPress users may be able to alter the font size in their themes. If you locate this option, you don’t need to write any CSS code. It’s possible to adjust your font size using custom CSS if your subject does not have this option.

  1. Simply select “Additional CSS” from the customizer’s drop-down menu. All of your custom CSS will be stored in this section.
  2. Simply paste your CSS code into the text box underneath the CSS text field. In this case, the font size is set to ‘16px,’ but you have the option to adjust it.
  3. The evaluation on the right side of the screen shows the modifications right away. The “Distribute” button at the top of the page will implement your changes if you’re happy with them.
  4. Simply copy and paste the code above into the paragraph’s text. To make all h2 subheadings, use a larger font, and follow the instructions provided below.
  5. If you want to target the h2 element in your subject, simply change the code above to look like this.
  6. Changing h2 to h3 and h4 to h5 will also do the trick for other headings.

You may also like...

Leave a Reply

Your email address will not be published.