Gossamer Forum
Home : Products : Links 2.0 : Customization :

categories font size change ?

Quote Reply
categories font size change ?
I'm edit the template categories.html, and change font to font arial size -2, but when the reload the site, no changed.

Yes I read the faq, another messages, etc, etc, but I no can change
Quote Reply
Re: categories font size change ? In reply to
continued message

This is the change in field size of sub site_html_print_cat

# Print Header.
$output = qq|<div class="margin"><font face="Arial, Helvetica" size="1"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td class="catlist" valign="top">\n|;


And no run !
Quote Reply
Re: categories font size change ? In reply to
Wrong codes, buddy! Look for $category_clean! This is where you put font codes that you want, like the following:

Code:
<font face="Arial" size="3">$category_clean</font>

GET IT!?

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: categories font size change ? In reply to
Yes i use templates and this is my code:

sub site_html_print_cat {
# --------------------------------------------------------
# This routine determines how the list of categories will look.
# We now use a table to split the category name up into two columns.
# For each category you can use the following variables:
#
# $url : The URL to go to that category
# $category_name : The category name with _ and / removed.
# $category_descriptions{$subcat}: The category description (if any).
# $numlinks : The number of links inside that category (and subcategories).
# $mod : The newest link inside of that category.
#

my (@subcat) = @_;
my ($url, $numlinks, $mod, $subcat, $category_name, $description, $output, $i);
my ($half) = int (($#subcat+1) / 1);

# Print Header.
$output = qq|<div class="margin"><table width="80%" border="0" cellspacing="0" cellpadding="0"><tr><td class="catlist" valign="top">\n|;

foreach $subcat (sort @subcat) {
($description) = @{$category{$subcat}}[2];

# First let's get the name, number of links, and last modified date...
$url = "$build_root_url/" . &urlencode($subcat) . "/";
if ($subcat =~ m,.*/([^/]+)$,) { $category_name = &build_clean($1); } else { $category_name = &build_clean($subcat); }
$numlinks = $stats{"$subcat"}[0];
$mod = $stats{"$subcat"}[1];


WHERE ???? i can change the font ???