Zen Cart Logo
Forums / General Questions / using classic template - adding a jpg file

using classic template - adding a jpg file

Locked

Views: 1,484

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 Nov 2006, 9:25 PM
#1
ewalker3 avatar

ewalker3

New Zenner

Join Date:
Nov 2006
Posts:
65
Plugin Contributions:
0

using classic template - adding a jpg file

hello - i'm new to zencart, and so far have been very impressed with the features of the product.

im using the default template scheme.

I'd like to know how i can display a .jpg file in the middle of the screen
i think its part of the index.php but not sure where to put it

I have the Welcome Guest, click to login and id like ot have the graphi displayed below it.

can someone tell me how to do this?

thanks,
ed

22 Nov 2006, 10:13 PM
#2
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: using classic template - adding a jpg file

Try adding this to your stylesheet.css file:

#indexDefaultMainContent{
background-image: url(path-to-your-image.jpg);
background-position: top center;
background-repeat: no-repeat;
background-attachment: fixed;
}

Anything else you have in that container will seem to float on top of the graphic.

This is example of putting a background in a div. Not quite what you are doing but simmilar:

http://www.highvoltage.ac/zc2/

Kiddo

22 Nov 2006, 11:16 PM
#3
ewalker3 avatar

ewalker3

New Zenner

Join Date:
Nov 2006
Posts:
65
Plugin Contributions:
0

Re: using classic template - adding a jpg file

thanks for the info, i tried that but the picutre never showed up.

its in a directory /httpdocs/images/cover.jpg

the zen css file is burned down under the zencart folder.

what am i missing?
ed