Welcome to Vestris Inc.
Internet Interactive Solutions Company



Software Documentation

Changing the Fonts

The easiest way to change all fonts on the bbs is to use a stylesheet. For example, create a bbs.css document, such as:
a: link, a: visited, a: active { text-decoration: none; font-size: 10pt; }
a: hover { text-decoration: underline; font-size: 10pt; }
h1 { font-size: 14pt; }
h2 { font-size: 13pt; }
h3 { font-size: 12pt; }
h4 { font-size: 11pt; }
form,body,a,b,td,table,tr,div,p 
   { font-family: Verdana, Arial, Helvetica, Swiss, Sans-Serif;
     font-size: 10pt; }    
        
Then add <link rel="stylesheet" href="http://www.foo.com/bbs.css" type="text/css"> to the <head> section of your template pages.

If you want to change elements individually, start by wrapping the entire body in a font tag, for example <font size="-1" color="red">. You will then notice that elements inside tables, such as article title, subject and body have not changed. This is due to how html was designed. You will need to insert the font tags inside the particular aGNeS elements such as the article table.

To achieve that, special aGNeS options should be used. An opening font tag has to be inserted before all text in tables and a closing font tag after. This needs to be done for the subject, date and author's email. This code should be added to article.html:
<!--SET OPEN--<font size="-1" color="red">-->
<!--SET OPEN-DATE--<font size="-1" color="red">-->
<!--SET OPEN-MAIL--<font size="-1" color="red">--> 
<!--SET OPEN-SUBJECT--<font size="-1" color="red">-->
<!--SET CLOSE--</font>-->
<!--SET CLOSE-DATE--</font>-->
<!--SET CLOSE-MAIL--</font>--> 
<!--SET CLOSE-SUBJECT--</font>-->
        

Note

Don't forget to update the cache to make your changes visible. For details about how to update the cache, please read the section called Templates Cache in Chapter 3 .