Zen Cart Logo
Forums / General Questions / how to change the backgound into an image?

how to change the backgound into an image?

Locked

Views: 536

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 Aug 2010, 12:07 PM
#1
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

how to change the backgound into an image?

my site is https://www.thesbeauty.com. Now I change my mind and want to change the green backgound color outside the store into a backgound image. How should I edit the stylesheet?

5 Aug 2010, 12:20 PM
#2
andreitero avatar

andreitero

Zen Follower

Join Date:
Dec 2009
Posts:
207
Plugin Contributions:
0

Re: how to change the backgound into an image?

body {
In your stylesheet.css find:

background: url(../images/your_image.gif)
}
images folder is in includes/templates/your_template/

5 Aug 2010, 12:34 PM
#3
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

Re: how to change the backgound into an image?

andreitero:

body {
In your stylesheet.css find:

background: url(../images/your_image.gif)
}
images folder is in includes/templates/your_template/

Yes, I followed the advice and changed the code.

I use a classic painting as the backgound image. It looks like the backgound image only takes part of the whole painting. How can I use the whole painting as the backgound image?

the paining image is attached. the painting size is 1024 * 768 (is it too big??). The site is https://www.thesbeauty.com

5 Aug 2010, 2:59 PM
#4
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Location:
Longs, SC
Posts:
635
Plugin Contributions:
0

Re: how to change the backgound into an image?

I think you're asking how to get the image to display on the right side. You can use background-repeat:repeat;