UtopiaSoftware Forums

Full Version: cHANGING THE background colors to images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to change the Subject Background, and Poster/Date Background color to an image?
Yeah. In the news_newsbit template,

Find:

<tr style="background-color: {$subjectbg}; color: {$subjecttext}; font-weight: bold; padding: 4px;">

Replace with:

<tr style="background-color: {$subjectbg}; background-image: url(URL_FOR_SUBJECT_BG); color: {$subjecttext}; font-weight: bold; padding: 4px;">

Find:

<tr style="background-color: {$postdatebg}; color: {$postdatetext}; font-size: 10px; clear: both;">

Replace with:

<tr style="background-color: {$postdatebg}; background-image: url(URL_FOR_POST/DATE_BG); color: {$postdatetext}; font-size: 10px; clear: both;">

Naturally, replace the URLs.
Sorry for the late replyBig Grin
I will check this out as soon as I can.
thanks
It worked nicely.

However, I have a new question,

Is the table's size in which the news are displayed based on the width="xxpx" or width="xx%"?

if either are the case, could you tell me where i enter my own vlaues because i cant seem to find it (and dont no where to look).

Thanks ahead of time  

Chris
There's this:

<table width="100%" cellpadding="1" cellspacing="1" border="0" style="background-color: {$bordercolor}; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px;">


So it's width in % in news_newsbit.
alright i think that would do
i'll try it out
Reference URL's