Which code is, the colour of backround of index?

Started by Neol, September 08, 2005, 03:42:35 AM

Previous topic - Next topic

Neol

Hi,
I want to change the colour of backround of index, but i dont know exactly where is the code. Plz can smb tell me?

thanks

p..I didnt find the answer by search.


Elmacik

#1
/Themes/your_theme/index.template.php

search for:
<body

if you find, add this right after the word of "body" :
bgcolor=#FFFFFF

if you cant find,
add this to anywhere;

echo ' <body bgcolor=#FFFFFF></body> ';



in both,  #FFFFFF means the hex code of the color, you can use anything you want...
Home of Elmacik

nokonium

It can be a little bit more complicated than that,

You may need to do this to get it all hunky dory

(style.css)

/* This is the white header area where the title, menu bars, and header boxes are. */
#headerarea
{
        background-color: transparent;

}
/* This is the main area of the forum, the part that's gray. */
#bodyarea
{
        background-color: transparent;
}
/* And this is the bottom, where the copyright is, etc. */
#footerarea
{
        background-color: transparent;

}



xenovanis

This theme is based on the Classic Yabbse Theme. In index.template.php of your theme find:


<tr style="background-color: #ffffff;">


replace with:

<tr>


find:

<td valign="top" bgcolor="#ffffff">


replace with:

<td valign="top">


How do I modify files?
"Insanity: doing the same thing over and over again and expecting different results."

Advertisement: