How to change font size with CSS

If you need to change the font size in WordPress with CSS use this snippet…

font-size: 28px;

This would change the size to 28px. Font sizes can be set with px or other values like percentage, em, pt, etc.

  Written by: Michael from     07-09-2022     Written in: CSS tutorials


  • Lillian says:

    This tutorial is really helpfull! I always strugle with changing font sizes in CSS, but after reeding this guide, I finnaly understand how to do it properly . Thak you so much for sharing these detaled instructions!

  • Julian says:

    Great tutorial! I’ve always struggled with changing the font size on my website, bu this guide made it so simple . Now my site looks way bwtter with the right font size. Thnaks for the helpful info!

Leave a Reply

Your email address will not be published. Required fields are marked *