Using a Yahoo! style template for links 2.0 and I was wondering how to make the text size of the description smaller.
Mar 17, 2003, 9:09 AM
Veteran / Moderator (17366 posts)
Mar 17, 2003, 9:09 AM
Post #3 of 5
Views: 474
To change the text size for categories, you can either edit the links.css file, found in the 'pages' folder, or edit site_html_templates.pl, near the bottom (literally last few lines).
Regarding the & symbol in categories...it is a safety thing, as directories are not allowed to be created with that charachter in. Due to this, its not allowed. In Links SQL, you cna happily use & $ .. and more, as it replaces them with _'s when building.
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Regarding the & symbol in categories...it is a safety thing, as directories are not allowed to be created with that charachter in. Due to this, its not allowed. In Links SQL, you cna happily use & $ .. and more, as it replaces them with _'s when building.
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Mar 23, 2003, 12:43 AM
Veteran (1350 posts)
Mar 23, 2003, 12:43 AM
Post #5 of 5
Views: 446
This is from site_html_templates.pl, way near the bottom
# Then we print out the name linked, new if it's new, and popular if its popular.
$output .= qq|<dl><dt><strong><a class="link" href="$url">$category_name</a></strong> <small class="numlinks">($numlinks)</small> |;
$output .= qq|<small><sup class="new">new</sup></small>| if (&days_old($mod) < $db_new_cutoff);
$output .= qq|</dt>|;
$output .= qq|<dd><span class="descript">$description </span></dd>| if (!($description =~ /^[\s\n]*$/));
$output .= qq|</dl>|;
}
If you're using the default CSS, then class="link" is telling the cat name what to look like. You can remove the CSS here and put in HTML, if you prefer <font size="3">, or whatever. I'd stay with CSS, though, in which case under the .link you would have font-size: 9px; or something...
Leonard
aka PerlFlunkie
# Then we print out the name linked, new if it's new, and popular if its popular.
$output .= qq|<dl><dt><strong><a class="link" href="$url">$category_name</a></strong> <small class="numlinks">($numlinks)</small> |;
$output .= qq|<small><sup class="new">new</sup></small>| if (&days_old($mod) < $db_new_cutoff);
$output .= qq|</dt>|;
$output .= qq|<dd><span class="descript">$description </span></dd>| if (!($description =~ /^[\s\n]*$/));
$output .= qq|</dl>|;
}
If you're using the default CSS, then class="link" is telling the cat name what to look like. You can remove the CSS here and put in HTML, if you prefer <font size="3">, or whatever. I'd stay with CSS, though, in which case under the .link you would have font-size: 9px; or something...
Leonard
aka PerlFlunkie


Description Text Size