Post Reply  Post Thread 
cHANGING THE background colors to images
Author Message
chris
Junior Member
**


Posts: 6
Group: Registered
Joined: Feb 2006
Status: Offline
Reputation: 0
Post: #1
cHANGING THE background colors to images

Is there a way to change the Subject Background, and Poster/Date Background color to an image?

02-27-2006 05:24 AM
Find all posts by this user Quote this message in a reply
Brian
Administrator
*******


Posts: 122
Group: Administrators
Joined: Jan 2006
Status: Offline
Reputation: 0
Post: #2
RE: cHANGING THE background colors to images

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.


Brian Earley
Utopia Software
utopiasupport@gmail.com
http://www.utopiasoftware.net
Software: Utopia News Pro

This post was last modified: 03-01-2006 08:43 AM by Brian.

03-01-2006 08:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
chris
Junior Member
**


Posts: 6
Group: Registered
Joined: Feb 2006
Status: Offline
Reputation: 0
Post: #3
RE: cHANGING THE background colors to images

Sorry for the late replyBig Grin
I will check this out as soon as I can.
thanks

This post was last modified: 04-01-2006 04:26 AM by chris.

04-01-2006 04:19 AM
Find all posts by this user Quote this message in a reply
chris
Junior Member
**


Posts: 6
Group: Registered
Joined: Feb 2006
Status: Offline
Reputation: 0
Post: #4
RE: cHANGING THE background colors to images

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

This post was last modified: 04-01-2006 04:55 AM by chris.

04-01-2006 04:54 AM
Find all posts by this user Quote this message in a reply
Brian
Administrator
*******


Posts: 122
Group: Administrators
Joined: Jan 2006
Status: Offline
Reputation: 0
Post: #5
RE: cHANGING THE background colors to images

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.


Brian Earley
Utopia Software
utopiasupport@gmail.com
http://www.utopiasoftware.net
Software: Utopia News Pro
04-01-2006 05:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
chris
Junior Member
**


Posts: 6
Group: Registered
Joined: Feb 2006
Status: Offline
Reputation: 0
Post: #6
RE: cHANGING THE background colors to images

alright i think that would do
i'll try it out

04-01-2006 06:02 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: