I cant change the color of the background!!! help please

Started by nin97, August 18, 2005, 05:05:59 PM

Previous topic - Next topic

nin97

hey there,

i'm trying to change the light grey background layer that surrounds the forum body from light grey to a really dark grey or black!

where can i change this? should it be in the CSS file? i tried looking for it everywhere in there

here's my css:


/* Normal, standard links. */
a:link
{
   color: #FFC000;
   text-decoration: none;
}
a:visited
{
   color: #FFC000;
   text-decoration: none;
}
a:hover
{
   color: #FFFFFF;
   text-decoration: underline;
}
/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
   color: #FFC000;
   text-decoration: none;
}
a.nav:hover
{
   font-weight: bold;
   color: #FFC000;
   text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
   empty-cells: show;
}

/* By default (td, body..) use Tahoma in black. */
body, td
{
   color: #F0F0F0;
   font-size: small;
   font-family: verdana;
}

/* The main body of the entire forum. */
body
{
   background-color: black;
   margin: 0px;
   padding: 0px;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
   font-size: 9pt;
   color: #FFFFFF;
   font-family: Tahoma, arial, helvetica, serif;
   background-color: #000000;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
   font-size: 8pt;
   font-weight: normal;
   color: #000000;
   font-family: Tahoma, arial, helvetica, serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
   height: 1px;
   border: 0;
   color: #666666;
   background-color: #000000;
}

/* A quote, perhaps from another post. */
.quote
{
   color: #FFFFFF;
   background-color: #000000;
   border: 1px solid #FFC000;
   margin: 4px;
   padding: 4px;
   font-size: x-small;
}

/* A code block - maybe even PHP ;). */
.code
{
   color: #000000;
   background-color: #cccccc;
   border: 1px solid #000000;
   padding: 1px;
   font-family: "courier new", helvetica, "times new roman", serif;
   font-size: x-small;
   width: 99%;
   margin: 1px auto 1px auto;
   white-space: nowrap;
   overflow: auto;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
   color: #000000;
   text-decoration: none;
   font-style: normal;
   font-weight: bold;
   font-size: x-small;
   border: 1px solid #000000;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
   cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
   color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
   width: 96%;
}

/* Highlighted text - such as search results ;). */
.highlight
{
   background-color: yellow;
   font-weight: bold;
   color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
   color: #cccccc;
   background-color: #333333;
}
.windowbg2
{
   color: #cccccc;
   background-color: #424242;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg td, .titlebg a:link, .titlebg a:visited
{
   color: #000000;
   font-style: normal;
   background-color: #171717;
}
.titlebg a:hover
{
   color: #dfdfdf;
}

/* This is used for categories, page indexes, and several other areas in the forum. */
.catbg
{
   background-image: url(images/catbg.jpg);
}

/* This is used for a category that has new posts in it... to make it light up. */
.catbg2
{
   background-image: url(images/catbg2.jpg);
}

.catbg, .catbg2
{
   font-weight: bold;
   background-color: black;
   color: #838383;
}

/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
   background-color: #333333;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
   border: 1px solid #666666;
   background-color: #333333;
   padding: 2px;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
   font-size: x-small;
   font-family: Verdana;
}
.normaltext
{
   font-size: medium;
}
.largetext
{
   font-size: large;
}

/* This is the white header area where the title, menu bars, and header boxes are. */
#headerarea
{
   background-image: url(images/bottomback.gif);
   border-bottom: 1px solid #242424;
}
/* This is the main area of the forum, the part that's gray. */
#bodyarea
{
   background-color: #0D0D0D;
}
/* And this is the bottom, where the copyright is, etc. */
#footerarea
{
   color: black;
   background-image: url(images/bottomback.gif);
   border-top: 1px solid #333333;
}

/* This is for the special header boxes on the top (user info, key stats, news box.) */
.headertitles
{
   background-color: #171717;
   
}
.headerbodies
{
   border: 1px solid #5B5B5B;
   background-color: #232323;
   background-repeat: repeat-x;
   
}

nin97


xenovanis

Your theme is based on the Classic Theme. The backgroundcolors are hardcoded in index.template.php.
"Insanity: doing the same thing over and over again and expecting different results."

nin97

Quote from: xenovanis on August 18, 2005, 05:24:09 PM
Your theme is based on the Classic Theme. The backgroundcolors are hardcoded in index.template.php.

how do i change them?

can i just edit the php file?

TIA

xenovanis

Yes, open the file Themes/classic/index.template.php and search for


style="background-color:

(3 times)

Replace the defined color with the color of your choice.

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

nin97

found it!

thanks for pointing me in the right direction, much appreciated! i've been busting my brain over this for a couple hours now ahhaha easiest thing ever

Advertisement: