Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: jmiller on July 31, 2004, 01:19:33 PM

Title: cant get the background color to change
Post by: jmiller on July 31, 2004, 01:19:33 PM
Hey ive changed all the colors i needed on my theme i made but i cant seem to get the background colors from defualt white and grey to change them both to black.

any idea where these colors can be changed at i looked in style.css and found nothing and the other index templates. Thanks

(http://img.photobucket.com/albums/v280/j_4130/smf2.jpg)
Title: Re: cant get the background color to change
Post by: Owdy on July 31, 2004, 01:38:30 PM
index.templete.php:


// For some STRANGE reason, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
echo '
<div style="background-color:


// The main content should go here.  A table is used because IE 6 just can't handle a div.
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td style="background-color:
Title: Re: cant get the background color to change
Post by: Tomer on July 31, 2004, 03:42:00 PM
Yes I also got a bit stuck on that a while back, search for the word 'white' and you should get the code Owdy posted, just change it to whatever you need.
Title: Re: cant get the background color to change
Post by: Owdy on July 31, 2004, 03:45:31 PM
Quote from: Tomer Dean on July 31, 2004, 03:42:00 PM
Yes I also got a bit stuck on that a while back, search for the word 'white' and you should get the code Owdy posted, just change it to whatever you need.
Mr. Dean. If he search 'white' he only finds one  of those. That second isnt white. Why he cant just search code i posted?  ::)
Title: Re: cant get the background color to change
Post by: Tomer on July 31, 2004, 04:30:48 PM
That was general advice, when you want to change a field, search for its color name, it may help. :P
Title: Re: cant get the background color to change
Post by: Owdy on July 31, 2004, 05:53:41 PM
 ::)
Title: Re: cant get the background color to change
Post by: Amacythe on July 31, 2004, 06:53:42 PM
http://www.simplemachines.org/community/index.php?topic=13749.0
Title: Re: cant get the background color to change
Post by: Owdy on July 31, 2004, 07:05:10 PM
Quote from: Amacythe on July 31, 2004, 06:53:42 PM
http://www.simplemachines.org/community/index.php?topic=13749.0
That css wont change backround color in default theme...