Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How do I change the background colour, on each side of my page to an image

How do I change the background colour, on each side of my page to an image

Started by stevenbettles on 22 Dec 2011, 10:10 PM · Views: 1,044

Results 1 to 7 of 7
22 Dec 2011, 10:10 PM
#1
stevenbettles avatar

stevenbettles

New Zenner

Join Date:
Dec 2011
Posts:
6
Plugin Contributions:
0

Post #1 by stevenbettles

I How do I change the background colour, on each side of my page - from a standard light blue(cyan) to repeated image?
I am directing my landing page which has a background image to my secure cart and want them to have the same look.
https//www.salt-lamps-australia.com
Cheers

22 Dec 2011, 10:25 PM
#2
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Post #2 by rescoccc

In the body section of the stylesheet add:

background: url(../images/yourimage.jpg);
background-repeat: repeat;

And upload the image to includes/templates/your_template/images

The best way to learn is to try stuff. But, back it up first.

22 Dec 2011, 11:22 PM
#3
stevenbettles avatar

stevenbettles

New Zenner

Join Date:
Dec 2011
Posts:
6
Plugin Contributions:
0

Post #3 by stevenbettles

Thanks. I did as instructed, but hasn't worked. I originally changed the colour form the light grey to my landing page settings. Would this be superceding the instruction for displaying the pic?
Thanks

22 Dec 2011, 11:32 PM
#4
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Post #4 by rescoccc

I'm seeing a background image on your site.

The best way to learn is to try stuff. But, back it up first.

22 Dec 2011, 11:36 PM
#5
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Post #5 by rescoccc

OOPS! Just realized that's the landing page site. Checking your zen stylesheet I find this:

body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000000;
background-color: #FE9901;
}

That means that the background image has not been added.

The best way to learn is to try stuff. But, back it up first.

23 Dec 2011, 2:10 AM
#7
stevenbettles avatar

stevenbettles

New Zenner

Join Date:
Dec 2011
Posts:
6
Plugin Contributions:
0

Post #7 by stevenbettles

Brilliant!!!
That's got it.
Cheers & thanks for your assistance.
Regards
Steven