Gossamer Forum
Home : Products : Links 2.0 : Customization :

Fonts Setup

Quote Reply
Fonts Setup
I need to write some description fr my categories and i did but description fonts are too big. How to keep category fonts and change description fonts (or just size) ??
I found this in search:
Add your own font codes before the $description variable in the sub site_html_print_cat routine in the site_html_templates.pl file.

but how exactly to write? like <font size=-2> ?????

Quote Reply
Re: Fonts Setup In reply to
Maybe somthing like this will work for you

Code:
<FONT SIZE="-2" FACE="Verdana,Sans-Serif" COLOR="#0033CC"><B>Get your banners here</B></FONT>
Code:
<FONT SIZE="1" FACE="Verdana,Arial" COLOR="#0033CC"><B><%Description%></B></FONT>
Gene
Quote Reply
Re: Fonts Setup In reply to
I am not shure is it OK!!!

Quote Reply
Re: Fonts Setup In reply to
Code:
$output .= qq|<dd><font face="AnyFontYouLike" size="AnySizeYouWish">$description</font></dd>
| if (!($description =~ /^[\s\n]*$/));
Just plain HTML.

Thomas
http://www.japanreference.com
Quote Reply
Re: Fonts Setup In reply to
Thank you Thomas, this look much better!

Quote Reply
Re: Fonts Setup In reply to
YES, it works :-) Thank you