Zen Cart Logo
Forums / General Questions / How do you use a background image instead of color?

How do you use a background image instead of color?

Locked

Views: 1,055

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
28 Jul 2009, 6:00 AM
#1
only1patrick avatar

only1patrick

New Zenner

Join Date:
Jul 2009
Posts:
19
Plugin Contributions:
0

How do you use a background image instead of color?

I have not found anything on this in your forum or FAQ, so now I start a new thread. I saw many of your Demo sites have background images, so I know it can be done. And I know how to do it in html, that's simple... But at a loss as to how to do it with Zen.

So... Someone help?? How can I impliment a background image behind the cart, make it tile the way I want, etc.

Thanks.

28 Jul 2009, 11:46 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do you use a background image instead of color?

Usually done in the styelsheet. If you mean you want a background image behind the main wrapper, you'd want something like this:

body {
background-image: url(../images/yourimage.jpg);
background-repeat: repeat;
background-color: #FFFFFF;
margin: 0px;
margin-bottom: 10px;
padding: 0px;
}

The image would need to be tileable, obviously.

Try installing the Web Developer plugin for Firefox, and look at the CSS of a site you like to see how they did it.