Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: reves on August 30, 2008, 10:55:15 AM

Title: change font of SSI output??
Post by: reves on August 30, 2008, 10:55:15 AM
Hey guys..  is anybody able to advise me on how to change the font properties of the recent posts list when I include it on my front page of my site? I'm using the include function of ssi.php.  as it is right now it's not conforming with my link, hover or font size properties...

much appreciated..
Title: Re: change font of SSI output??
Post by: lordtron on August 30, 2008, 01:11:51 PM
You will need to create another stylesheet with a different property for the SSI Functions.

Title: Re: change font of SSI output??
Post by: greyknight17 on August 30, 2008, 05:05:41 PM
Depending on how you coded it in your front page, you can just enclose the SSI functions in HTML font tags. Here's a simple example:

<?php 

include('SSI.php');

echo 
' <font face="Verdana">' ssi_recentPosts '</font>';
?>
Title: Re: change font of SSI output??
Post by: reves on August 30, 2008, 08:20:58 PM
thanks guys. greyknight, I have tried to use the syntax you suggested, but it doesnt seem to work? i have the php include working in general, because it does show up in the standard ugly font. but once I change it to how you have it, it doesnt show anything?
Title: Re: change font of SSI output??
Post by: Nathaniel on August 30, 2008, 10:34:55 PM
Try using 'ssi_recentPosts()' instead of 'ssi_recentPosts'. ;)