Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

css-style in Forum ?

Quote Reply
css-style in Forum ?
I have the problem that the font-size in the Forum-template called "category_list" (and other templates) is done by the "Global-Vars" in "body_font".
And "body_font" has a font-size like "size=2". I want to change this into a .css-font-size like "13px". I tried to put instead of "size=2" a value of "13px" but the font was extremly large so it did not give the result I wanted.
Do I have to delete "<%body_font%>" in all Forum-templates and put a .css instead ? Thatīs would be really a lot of work.....

How do I change from a "size=2" to a .css ? How can I change "body_font" in Global-Vars ?

Please help me !

Quote Reply
Re: [erichcyber] css-style in Forum ? In reply to
Try replacing the font tag in body_font with either

<font style="font-size:13 px;">

or, if you have a stylesheet, with something like:

<span class="yourfontclass">

(if the latter, remember to change the /body_font tag to match the span).
Quote Reply
Re: [agaffin] css-style in Forum ? In reply to
Many thanks, this worked excellent.
I used this:

<font style="font-family: arial, verdana, helvetica, sans-serif; font-size: 12px; font-weight: bold; text-decoration: underline; color: #FFFFFF">

I have one question:
how can I do a css-hoover for this ?