Support Forum

Font Resizer – Background

GM GM
GM
Member

I would like to ask you, if there is any way of:

– increasing the AAA box itself laugh

– adding background to the AAA box plus – this is what I get with my them

 

 

– adding some text ‘Click to change text size’- something like this

 

 

Some users don’t know what to do and it is difficult to spot.

5 Answers

New Answer

MP Mr Papa
Mr Papa
Member

you style it yourself…  you can use:

#spFontSize a {font-size: 0.8em !important;}

currently its going to be 0.7em…  I made if 0.8 but you can make it whatever you want…

To add some text you will need to edit your sp theme (dont edit ours, make a copy for yourself)…

edit the template file spFunctions.php in your sp theme…  find:

    sp_FontResizer(‘tagClass=spFontSizeControl spRight’, $tipMinus, $tipReset, $tipPlus);

and afterwards add this:

    echo ‘<span style=”float:right”>Click to change text size:  </span>’;

GM GM
GM
Member

Thank you !

Additional text works, but I don’t know where to insert #spFontSize a {font-size: 0.8em !important;} question

YS Yellow Swordfish
Yellow Swordfish
Member

Try putting it in somewhere in your WP theme CSS file.

GM GM
GM
Member

Thank you, it works beautifully…

Because the #spFontSize a {font-size: 0.8em !important;} changed the AAA box and made all letters equal, I have made the following changes:

sp-font-resize-plugin.php

line 69-71

‘fontCharMinus’ => ‘[-]’,

‘fontChar’ => ‘A’,

‘fontCharPlus’ => ‘[+]’,

and line 89-91

$out.= “<a id=’spFontSize_minus’ class=’$boxClass’ title=’$toolTipMinus’ style=’font-size: 0.7em;’>$fontCharMinus</a>n”;

$out.= “<a id=’spFontSize_reset’ class=’$boxClass’ title=’$toolTipReset’>$fontChar</a>n”;

$out.= “<a id=’spFontSize_add’ class=’$boxClass’ title=’$toolTipPlus’ style=’font-size: 1.2em;’>$fontCharPlus</a>n”;

the final effect

 

 http://www.bimup.co.uk/forum-menu/forum/

YS Yellow Swordfish
Yellow Swordfish
Member

OK that will work.
Just never update it! Not that it is the sort of plugin that will ever need much change!