Zen Cart Logo
Forums / Addon Templates / Changing Background of the main pages

Changing Background of the main pages

Views: 1,119

Results 1 to 4 of 4
3 Feb 2011, 3:50 PM
#1
davisz avatar

davisz

Zen Follower

Join Date:
Jan 2011
Posts:
141
Plugin Contributions:
0

Changing Background of the main pages

My site - https://www.testmulberry.com - has this light grey background, which I do not mind. However, I would like for it to be a bit darker. Is there a way to change this color via the .css or anything? Or is this a permanent part of my site.

Thanks

3 Feb 2011, 4:12 PM
#2
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: Changing Background of the main pages

in your stylesheet:

body {
margin: 0;
font-family: arial, helvetica, sans-serif;
font-size: 0.72em;
color: #333333;
line-height: 17px;
}
.body-bg {
background: #f3f3f3 url("../images/body_up.gif") no-repeat center top;
}
.body-upper-bg {
background: url("../images/body_bg.gif") repeat-y center top;

change to wotever you desire:smile:

3 Feb 2011, 5:21 PM
#3
davisz avatar

davisz

Zen Follower

Join Date:
Jan 2011
Posts:
141
Plugin Contributions:
0

Re: Changing Background of the main pages

Thanks, I found where it was located, but figured out that I had to remove the image that it has being displayed in order for the whole background to change. Its a shame, i kind of liked those bubbles. I wonder if I can just edit that image and re-upload it?

3 Feb 2011, 5:33 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Changing Background of the main pages

Your template has some unnecessary complication in the form of two extra divs inside the overall body, named .body-bg and .body-upper-bg, which do things that could just as well be done by assigning the background color to the body and the background image with padding to #mainWrapper.
Nevertheless, you can change the body-bg rule at the top of your stylesheet to a different background-color.```
body {
margin: 0;
font-family: arial, helvetica, sans-serif;
font-size: 0.72em;
color: #333333;
line-height: 17px;
}
.body-bg {
background: #262b31;
}
.body-upper-bg {
background: url("../images/body_bg.gif") repeat-y center top;
}


What does the body-up.gif look like? Does it have background color in it, or is it just the "bubbles"?