Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: TheListener - lokakuu 31, 2011, 10:29:11 IP

Otsikko: I must be nuts
Kirjoitti: TheListener - lokakuu 31, 2011, 10:29:11 IP
Have been playing with a theme on my test forum.

Got little idea as to what I am doing.

Knowledge of css, html and php is 0.

So far the main colour I have come up with for a theme is as follows.

If someone could point me in the direction of changing the background css I'd be grateful.

Otsikko: Re: I must be nuts
Kirjoitti: mashby - lokakuu 31, 2011, 10:32:46 IP
I'd say you are a peanut. Background CSS for what, the entire body?
Otsikko: Re: I must be nuts
Kirjoitti: TheListener - lokakuu 31, 2011, 10:36:37 IP
Lainaus käyttäjältä: mashby - lokakuu 31, 2011, 10:32:46 IP
I'd say you are a peanut. Background CSS for what, the entire body?

Thanks walnut

;D

Yep the whole body.


The hex is BDB76B and the colours name is Khaki Green.
Otsikko: Re: I must be nuts
Kirjoitti: mashby - lokakuu 31, 2011, 10:50:10 IP
What do you currently have set for body in your CSS?
body {
background: #BDB76B;
}
Otsikko: Re: I must be nuts
Kirjoitti: Clara Listensprechen - marraskuu 01, 2011, 05:15:16 IP
If this is 2.0 Gold & newer, the background isn't handled by CSS alone, and there are (at least) 2 layers of background. Looks like the peanut is the stuff below the header, the body part alone in the far background. The header has a separate background.
Otsikko: Re: I must be nuts
Kirjoitti: TheListener - marraskuu 01, 2011, 08:04:00 IP
Peanut stuff?

That was me calling mashby a peanut Clara. lol

/* Set a fontsize that will look the same in all browsers. */
body
{
background: #BDB76B url(../images/theme/backdrop.png) repeat-x;
font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
margin: 0 auto;
padding: 15px 0;
}
Otsikko: Re: I must be nuts
Kirjoitti: Clara Listensprechen - marraskuu 01, 2011, 08:24:06 IP
Well, if you're changing both the backdrop.png and the # specified color, that's certainly the backmost background. main_block sits ontop of that as logo background and on which the body frame lays. Depending on opinion, you may or may not regard the body frame as an additional background on which the content lays....or it's an even frame.
Otsikko: Re: I must be nuts
Kirjoitti: TheListener - marraskuu 01, 2011, 08:32:24 IP
Pardon?

Sorry Clara but what ya said sounded like technobabble.

I'm only dabbling with it at the moment.

Nothing serious.

:o
Otsikko: Re: I must be nuts
Kirjoitti: Clara Listensprechen - marraskuu 01, 2011, 09:28:05 IP
Lainaus käyttäjältä: Brack1 - marraskuu 01, 2011, 08:32:24 IP
Pardon?

Sorry Clara but what ya said sounded like technobabble.

I'm only dabbling with it at the moment.

Nothing serious.

:o