This plugin allows you to give the visitors of your site the option to change the font size.
The plugin acts over jQuery and saves the settings in a cookie. So the visitor see the same font size if they revisit your site.
Which content is going resized, the resize steps and other options you can set on the admin page called “font-resizer”.

About us

cubetech – we create your DIGITAL EXPERIENCE with WordPress
Our contact address:


  • Adding the widget
  • A productive example of the plugin
  • Settings page
  • Settings page


  1. Upload the directory font-resizer to the /wp-content/plugins/ directory or install the plugin directly with the ‘Install’ function in the ‘Plugins’ menu in WordPress
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add the sidebar widget through the ‘Design’ menu in WordPress
  4. If you would not use the widget, you can use the tag <?php if(function_exists('fontResizer_place')) { fontResizer_place(); } ?> somewhere
  5. Define which content should be resized on the ‘font-resizer’ admin page (optional). If you are not familiar with html and css, select the body option (default). This would resize each content of your page.


How can i activate the function of the plugin?

Go to the admin page of the plugin and select your option. If you are not familiar with html and css, select the body option (default). This would resize each content of your page.

My fonts doesn’t resize or only some lines are resizing. How can i fix?

The problem is that many themes use fixed font sizes (px) instead of relative sizes (em, rem, vm, vh, %, …). If you change this, it works.

How can i use the plugin without the widget?

Use this snippet of PHP code (in your theme or somewhere):

How can i change the color of the A’s?

With CSS in your theme.
Use something like:
ul.ct-font-resizer li > a { color: blue; }

Which styling (CSS) classes are available?

UL : ct-font-resizer
LI : ct-font-resizer-element
A : ct-font-resizer-plus, ct-font-resizer-reset, ct-font-resizer-minus

How to contribute?

If you have an idea or a pull request, contribute here:

Are there more FAQ?

Not yet, no. But feel free to contact us if you have a question!


Works as advertised!

I used this plugin for the first time recently on a project, and it worked well. I left a message in the support forum recommending adding a class to the ul container (for styling), and this has been added in the most recent update.

Not bloated with functions I don’t want or need, and it’s flexible. Having a cookie set to save user preference is a nice feature, and the reset/default font size button is nice as well.

For a free (and well supported) plugin, I’m satisfied and will use it again!


Does not work?

Plugin installs fine, Settings-page works fine and then… nothing happens.

I do see JS-files being added to the code, but I don’t see any switcher show up, not even if I implement my own CSS-element….

Read all 14 reviews

Contributors & Developers

“font-resizer” is open source software. The following people have contributed to this plugin.


Translate “font-resizer” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Bugfix for minimum font size
  • New screenshot of settings panel


  • Added new setting for minimum font size


  • Added new CSS classes to elements (all with ct-font-resizer prefix)
  • Version tested update


  • HTML Bugfix


  • Accessibility improvements (tab select and enter key press)


  • New function: limit font size, add to option page
  • Bug: replaced old path declaration
  • Testing: WP 4.4 and actual Bootstrap theme


  • Widget bug fix


  • Added banner img


  • Nothing relevant


  • Fixed some deprecated functions


  • Updated readme


  • Little jquery bugfix for function ownid


  • Fixed PHP problem


  • Fixed problem with Internet Explorer


  • Added option for cookie save time to admin pane
  • Edited install instructions

  • Added an answer to FAQ


  • Fixed JavaScript issue with qTranslate
  • Refactured jQuery scripts


  • Added an option for changing the font resize steps
  • Added comments to source code
  • Cleaned up source code
  • Changed css classes of the visible resizer element in the sidebar


  • Bugfix for different directory structure (like language structure, yourdomain.tld/en/ for english)


  • Added menu page
  • Changed default resizable element from a div with id innerbody to body element
  • Added uninstall hooks
  • Added some answer to FAQ


  • First stable version
  • Publish the plugin