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.

Where is the admin screen?

There is none. The only configuration can be done by adding the below constants to your wp-config.php file. You'll need to author your CSS to take advantage of the stateful classes added to the element.

How do I customize the number of levels?

Add the following constants to your wp-config.php file, adjusting the levels to your liking.

define('WP_FONTSIZE_MAX', 7);
define('WP_FONTSIZE_MIN', 1);

How do I disable the including of the CSS?

This disables the CSS that lays out the font size indicator in the top right of the screen. Use this to override the CSS with your own styles.

define('WP_FONTSIZE_CSS', false);

How do I use the font size adjustor in my template?

This lets you use the plugin inside a template, by using the wp_fontsize::html() method. This will display the interface using the tag:

<?php wp_fontsize::html(); ?>

To disable the default html adjustor, make sure you add this to your wp-config.php:

define('WP_FONTSIZE_HTML', false);

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


2 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