WP Responsive Auto Fit Text
Based on slabText – a jQuery plugin for producing big, bold & responsive headlines (https://github.com/freqDec/slabText), this plugin allows you to create great, big, bold & responsive headlines that resize to the viewport width with a WordPress shortcode. Usage [slabtext] [slab]line 1[/slab] [slab]
Based on slabText – a jQuery plugin for producing big, bold & responsive headlines (https://github.com/freqDec/slabText), this plugin allows you to create great, big, bold & responsive headlines that resize to the viewport width with a WordPress shortcode.
Usage
[slabtext] [slab]line 1[/slab] [slab]line 2[/slab] [slab]line 3[/slab] [slab]line 4[/slab] [/slabtext]
Styling per line [slabtext] [slab color=”#000″ font=”Open Sans” transform=”uppercase”]line 1[/slab] [slab]line 2[/slab] [slab color=”#FFF” font=”Arial”]line 3[/slab] [slab]line 4[/slab] [/slabtext]
Working Demo
*** PHP needs to be at minimum v.5.3 for this plugin to work ***
- 01Extract the zip file and drop the contents in the wp-content/plugins/ directory of your WordPress installation
- 02Activate the Plugin from Plugins page
Frequently asked questions.
Can I wrap the shortcode with HTML header tags
Yes, here is an example:
[slabtext] [slab]My responsive title[/slab] [/slabtext]