FitText

About Fit Text

Fit Text is a jQuery plugin to make font-sizes flexible. Use this plugin on your fluid or responsive layout to achieve scalable headlines that fill the width of a parent element. Fit Text is a perfect choice while developing cross-platform websites (scalable for all those nifty devices and displays).

A jQuery plugin for inflating web type

Need for Fit Text

Imagine, how your design layout would appear to users on a nifty handheld device and to the person viewing it on a hi-resolution wide screen. With so many browsing options (iPad, Tablets, Mobile Phones, Wide Screen Monitors etc.), you can limit your design to pre-defined scales. It has to be fluid and scalable – not just the layout but the entire text in your website/web application so users can read contents easily. Challenging? Not actually, at least not with Fit Text.

Help and Support Us by Donations

Please consider a small donation.

Note

Before using this module, make sure that

  • Use responsive theme (such as Omega).
  • The text should be larger.

Configuration

You can enter a list of jQuery selectors. They will be output in the format:

jQuery("#site-name").fitText(0.8);

The second configuration of the Fit Text is Compressor. If your text is resizing poorly, you'll want to turn tweak up/down "The Compressor". It works a little like a guitar amp. The default is 1.

$("#responsive_headline").fitText(1.2); // Turn the compressor up   (text shrinks more aggressively)
$("#responsive_headline").fitText(0.8); // Turn the compressor down (text shrinks less aggressively)

Further info

There is an explanatory blog post at https://github.com/davatron5000/FitText.js

Site using Fit Text

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0 tar.gz (9.12 KB) | zip (10.38 KB) 2011-Nov-15 Notes
6.x-1.0 tar.gz (9.08 KB) | zip (10.34 KB) 2011-Nov-15 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (9.11 KB) | zip (10.38 KB) 2011-Nov-16 Notes
6.x-1.x-dev tar.gz (9.1 KB) | zip (10.35 KB) 2011-Nov-16 Notes

Project Information


Maintainers for Fit Text

  • saran.quardz - 14 commits
    last: 27 weeks ago, first: 30 weeks ago

Issues for Fit Text

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports