Gossamer Forum
Home : Products : Links 2.0 : Customization :

Category Size

Quote Reply
Category Size
How do i adjust the large font size that shows up wherever
<%category%> is ?????

Quote Reply
Re: Category Size In reply to
Go into site_html_templates.pl and edit the print cat sub.

Good Luck!

Glenn
Host Links
http://cgi-resource.co.uk/links
Quote Reply
Re: Category Size In reply to
There are no variables in their to change the size

Quote Reply
Re: Category Size In reply to
Go into the print cat sub and find:

# Then we print out the name linked, new if it's new, and popular if its popular.

Just below that comment you'll find:

<a href="$url">$category_name</a>

Putting this inside a font tag or a style sheet tag will enable you to change the size of the category names that appear when <%category%> is called.



Good Luck!

Glenn
Host Links
http://cgi-resource.co.uk/links
Quote Reply
Re: Category Size In reply to
so where do i make the change ,
<a href="$url">$category_name</a> or <%category%>
Where do i add the size



Quote Reply
Re: Category Size In reply to
It's just plain html... If adding a font tag eg:


<font size = "-1"><a href="$url">$category_name</a></font>


Good Luck!

Glenn
Host Links
http://cgi-resource.co.uk/links
Quote Reply
Re: Category Size In reply to
Simply adding the font tag inside your templates such as:

<font size = "-1"><%category%></font>

WILL NOT WORK, as the <%category%> tag uses the print cat routine which creates all the categories, descriptions etc.. inside a table. Hence you need to edit the print cat sub...

Good Luck!

Glenn
Host Links
http://cgi-resource.co.uk/links
Quote Reply
Re: Category Size In reply to
1) Deja vu! Deja vu! This was discussed three times in the LINKS 2.0 Forums in the past week. Please search more thoroughly.

2) If you searched for the keywords in your original post, you would've found relevant threads.

Bottom line: Please search the forums and Resources section before posting questions in the forums. Thank you.

Regards,

Eliot Lee
Quote Reply
Re: Category Size In reply to
Thanks a MILLION

It worked