Plugin Directory

Changeset 1553753


Ignore:
Timestamp:
12/13/2016 02:35:22 PM (9 years ago)
Author:
chrigu99
Message:

New release 1.3.3

Location:
font-resizer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • font-resizer/trunk/font-resizer.php

    r1343570 r1553753  
    55Description: Font Resizer with jQuery and Cookies
    66Author: cubetech.ch
    7 Version: 1.3.2
     7Version: 1.3.3
    88Author URI: http://www.cubetech.ch/
    99*/
     
    109109
    110110    function fontResizer_place(){
    111         echo '<ul><li class="fontResizer" style="text-align: center; font-weight: bold;">';
    112         echo '<a class="fontResizer_minus" href="#" title="' . __('Decrease font size', 'font-resizer') . '" style="font-size: 0.7em;">A</a> ';
    113         echo '<a class="fontResizer_reset" href="#" title="' . __('Reset font size', 'font-resizer') . '">A</a> ';
    114         echo '<a class="fontResizer_add" href="#" title="' . __('Increase font size', 'font-resizer') . '" style="font-size: 1.2em;">A</a> ';
     111        echo '<ul class="ct-font-resizer"><li class="fontResizer ct-font-resizer-element" style="text-align: center; font-weight: bold;">';
     112        echo '<a class="fontResizer_minus ct-font-resizer-minus" href="#" title="' . __('Decrease font size', 'font-resizer') . '" style="font-size: 0.7em;">A</a> ';
     113        echo '<a class="fontResizer_reset ct-font-resizer-reset" href="#" title="' . __('Reset font size', 'font-resizer') . '">A</a> ';
     114        echo '<a class="fontResizer_add ct-font-resizer-plus" href="#" title="' . __('Increase font size', 'font-resizer') . '" style="font-size: 1.2em;">A</a> ';
    115115        echo '<input type="hidden" id="fontResizer_value" value="'.get_option('fontResizer').'" />';
    116116        echo '<input type="hidden" id="fontResizer_ownid" value="'.get_option('fontResizer_ownid').'" />';
  • font-resizer/trunk/readme.txt

    r1343570 r1553753  
    44Tags: font, size, increase, decrease, resizer, bigger, smaller, jquery, cookie, fonts, resize, change, wordpress, cubetech, webdesign, hosting, billing, widget, plugin, sidebar
    55Requires at least: 2.7
    6 Tested up to: 4.5
    7 Stable tag: 1.3.2
     6Tested up to: 4.8
     7Stable tag: 1.3.3
    88License: GPLv2
    99
     
    3535Go 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.
    3636
     37= My fonts doesn't resize or only some lines are resizing. How can i fix? =
     38The problem is that many themes use fixed font sizes (px) instead of relative sizes (em, rem, vm, vh, %, ...). If you change this, it works.
     39
    3740= How can i use the plugin without the widget? =
    3841Use this snippet of PHP code (in your theme or somewhere): <?php if(function_exists('fontResizer_place')) { fontResizer_place(); } ?>
     
    4144With CSS in your theme.
    4245Use something like:
    43 li.fontResizer > a { color: blue; }
     46ul.ct-font-resizer li > a { color: blue; }
     47
     48= Which styling (CSS) classes are available? =
     49UL : ct-font-resizer
     50LI : ct-font-resizer-element
     51A  : ct-font-resizer-plus, ct-font-resizer-reset, ct-font-resizer-minus
    4452
    4553= How to contribute? =
    4654If you have an idea or a pull request, contribute here:
    4755
    48 https://github.com/cubetech/wordpress.font-resizer
     56https://github.com/cubetech/wpplugin.font-resizer
    4957
    5058= Are there more FAQ? =
Note: See TracChangeset for help on using the changeset viewer.