Challenge: Change the font size

Hire a WordPress Expert on Codeable
Updated On: January 14th, 2025 0 Comments

This challenge has two variations.

  1. Set the font size of the first paragraph to large
  2. Set a custom font size of 36px of the first paragraph to 40px.
πŸ™ˆ
Hint: The font size setting will appear on the Settings sidebar.

Solution for: Set the font size of the first paragraph to large

We can change the font size in two easy steps:

  1. Click on the first paragraph
  2. Inside the Sidebar settings, there is a section called “Typography”.  
  3. Inside “Typography”, there is a setting called “Size”. From here, choose the “L” option. “L” means large.

That’s all it takes to increase the font size of any text-based block in the Block editor.

Solution for: Set a custom font size of 36px of the first paragraph to 40px.

This one is straight forward too.

We can set a custom font size in four easy steps:

1) Make sure the first paragraph is selected

2) Inside the “Typography” section, click on the “Set Custom Size” icon

3) Next, change the font-size metric to “PX” (Pixels)

4) Finally, enter the font size manually:

That’s all it takes to change the font size manually inside the WordPress Block editor.