Gossamer Forum
Home : Products : Gossamer Links : Discussions :

yahoo-subcat-plugin: font ?

Quote Reply
yahoo-subcat-plugin: font ?
Hi,

I have the "yahoo-subcategories-PlugIn" installed in my LinksSQL.

Is it possibe to change the FONT of these subcategories by using CSS ?
I can only see one field where it is possible to change the size, but I would like to define the size with pixels like "13px".


this is what I currently see (just a field):

Plugin Options:
font of the subcategory.

subcat_font: font size=2


Please help.

Last edited by:

erichcyber: Jan 29, 2005, 9:34 PM
Quote Reply
Re: [erichcyber] yahoo-subcat-plugin: font ? In reply to
Because the <a href=""></a> is automatically generated, I do not think it is possible to change the font using css regular methods.

Instead of using the plugin, I always found it easier to just type in the links manually under the main category descriptions.

You could try something like this in the description field:

<span class=subcats>SUB0</span>, or you could uninstall the plugin and edit YahooSubcats.pm

Change this line:

Code:
$description.=qq|<a href="$cat_url"><$cfg->{subcat_font}>$row->{Name}</font></a>|;

To this:

Code:

$description.=qq|<a class="subcats" href="$cat_url"><$cfg->{subcat_font}>$row->{Name}</font></a>|;


I personally would not use the plugin at all, and edit the description fields manually, but thats just me.

Hope this helps,

- Jonathan
Quote Reply
Re: [erichcyber] yahoo-subcat-plugin: font ? In reply to
You can set the "font-face" in the plugin settings.

subcat_font: font class="my_class"

..or similar.

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!