Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: SaltedWeb on June 07, 2005, 06:51:51 PM

Title: BackGround Issues
Post by: SaltedWeb on June 07, 2005, 06:51:51 PM
Ive read the Tutorial and a few othe posts.

I am trying to change the header, footer and base white backgrounds on the default main page . I have copied default to theme1 for editing

I have changed ccs and in Admin setting  colors.
But never changes the very back areas only changes the forground backgrounds not the actuall site background.

I can change every aspect fine but not these, they never seem to able to change. It must be pretty easy as I see 99% of themes changing this to look like a solid background

Help Please


Cozmo


Title: Re: BackGround Issues
Post by: [Unknown] on June 07, 2005, 08:21:55 PM
Have you changed the "body" rule?

-[Unknown]
Title: Re: BackGround Issues
Post by: SaltedWeb on June 07, 2005, 08:34:16 PM
I guess the answer is no?
Since I dont know what your saying  ;)

I dont recall reading about that either?
Am I missing a step?


Cozmo
Title: Re: BackGround Issues
Post by: [Unknown] on June 07, 2005, 08:34:54 PM
body
{
   background-color: red;
}

Will make your forum background color red.

-[Unknown]
Title: Re: BackGround Issues
Post by: SaltedWeb on June 07, 2005, 10:38:15 PM

What file is this under to edit ?

Or is this in the admin theme edit?


Thanks

Cozmo
Title: Re: BackGround Issues
Post by: A.M.A on June 07, 2005, 10:50:14 PM
it is in your style.css:
/* The main body of the entire forum. */
body
{
background-color: white;
margin: 0px;
padding: 0px;
}
Title: Re: BackGround Issues
Post by: SaltedWeb on June 07, 2005, 11:14:44 PM

Ok I was putting hex colors in here.,not a name
So I take it there are a limited amount of background colors ?
And hex doesnt work on the background?

Cozmo
Title: Re: BackGround Issues
Post by: [Unknown] on June 07, 2005, 11:32:50 PM
You can use hex just fine.

background-color: #FFFFFF;

-[Unknown]
Title: Re: BackGround Issues
Post by: SaltedWeb on June 07, 2005, 11:45:09 PM
Hi Unknown...

Ok back to my original post LOL ;D
Thats my problem its not showing up.

Header, footers, nor background  will change under hex.
I just relalize its changed under the typed COLOR.
But still wont accept hex.
Just under those  3.
I can use hex on everything else.


And I cant for the life of me see why it would single those three out.
Unless its read else where . Confusing the heck out of me why?
( again I promise I read the tutorial it was great but thats why I am confused why I cant change it, According to the directions and your answers I am doing it correctly)

got me stumped so I wrote the experts here.

Cozmo
Title: Re: BackGround Issues
Post by: A.M.A on June 08, 2005, 03:25:52 AM
Could you please provide a link.
Title: Re: BackGround Issues
Post by: nokonium on June 08, 2005, 12:20:01 PM
To clear the whole background you need to do this in the style.css (it is near the end of the file)

/* This is the white header area where the title, menu bars, and header boxes are. */
#headerarea
{
background-color: none;
border-bottom: 1px solid gray;
}
/* This is the main area of the forum, the part that's gray. */
#bodyarea
{
background-color: none;

}
/* And this is the bottom, where the copyright is, etc. */
#footerarea
{
color: black;
background-color: none;
border-top: 1px solid gray;
}


That leaves the dividing lines but removes the backgrounds. I have done it to use a tiled texture as my background.

HTH