Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WordPress Font Size

Adds BODY classes to allow CSS customize the size of various fonts, and layouts of a page. Uses AJAX to store state in session.

Please Note

The default installation of this plugin will have no visible effect on your theme. You must add css to specify the size of the font adjustments, this plugin only adds the body class = font-size-{$number} to allow your CSS to do the tweaking.

See the FAQ for configurable constants.

Demo CSS: This will change the font size of all paragraph elements.

.font-size-1 p
    font-size: 0.8em;
.font-size-2 p
    font-size: 0.9em;
other rules here
.font-size-7 p
    font-size: 1.7em;

To target other elements:

.font-size-7 p, .font-size-7 h1, .font-size-7 h2 .(etc...) {
    font-size: 1.7em;

Requires: 3.0.0 or higher
Compatible up to: 3.6.0
Last Updated: 4 years ago
Active Installs: 800+


2.8 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1
0,1,0 100,1,1 100,1,1
100,1,1 100,2,2