Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Font Resizer - Background
Avatar
GM
London
Member
Free Members
sp_UserOfflineSmall Offline
Aug 13, 2012 - 7:56 pm

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.

Regards,
Gregory

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 13, 2012 - 11:15 pm

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>';

Avatar
GM
London
Member
Free Members
sp_UserOfflineSmall Offline
Aug 14, 2012 - 8:18 pm

Thank you !

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

Regards,
Gregory

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 15, 2012 - 2:29 am

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

andy-signature.png
YELLOW
SWORDFISH
Avatar
GM
London
Member
Free Members
sp_UserOfflineSmall Offline
Aug 15, 2012 - 7:06 pm

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

Image Enlarger

 

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

Regards,
Gregory

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 16, 2012 - 4:22 am

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

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625