• Welcome to Simple Machines Community Forum. Please login or sign up.
September 20, 2021, 04:13:51 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


change font of SSI output??

Started by reves, August 30, 2008, 10:55:15 AM

Previous topic - Next topic

reves

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..

lordtron

You will need to create another stylesheet with a different property for the SSI Functions.


VainSoftGames.com - New Design To Gaming

greyknight17

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>';
?>

reves

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?

Nathaniel

Try using 'ssi_recentPosts()' instead of 'ssi_recentPosts'. ;)
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Advertisement: