If this is your first visit, check our documentation. To post, register or login.

background image help

Started by wartht on 27 Oct 2011, 5:59 PM · Views: 2,246

Results 1 to 7 of 7
27 Oct 2011, 5:59 PM
#1
wartht avatar

wartht

New Zenner

Join Date:
Sep 2011
Posts:
31
Plugin Contributions:
0

Post #1 by wartht

i am trying to put an image in the background of my site and i cant quite figure it out. my url is www.everythingspecrtrum.com if anyone has any idea what im suposed to put where let me know please :(

thanks in advanced

27 Oct 2011, 6:42 PM
#2
stevesh avatar

stevesh

Black Belt

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

Post #2 by stevesh

Where do you want this background to appear ?

27 Oct 2011, 6:52 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #3 by schoolboy

Steve's question needs to be answered, because while the technique for putting in background images remains the same, the desired position, behaviour and layout of the image needs to be known.

The image will be loaded into your template's images folder (NOT your main image folder), and the position, behaviour and layout will be governed by a declaration in the stylesheet.

Typically:

body {
    background: url("../images/bg.jpg") no-repeat fixed center top #F2F4F1;

20 years a Zencart User

27 Oct 2011, 8:13 PM
#4
wartht avatar

wartht

New Zenner

Join Date:
Sep 2011
Posts:
31
Plugin Contributions:
0

Post #4 by wartht

i am wanting it to be seen only in the sides but cover the entire site. like all the content is on top of that image(including the white in the middle).

27 Oct 2011, 8:17 PM
#5
wartht avatar

wartht

New Zenner

Join Date:
Sep 2011
Posts:
31
Plugin Contributions:
0

Post #5 by wartht

yes it worked thank you so much :)

27 Oct 2011, 8:26 PM
#6
wartht avatar

wartht

New Zenner

Join Date:
Sep 2011
Posts:
31
Plugin Contributions:
0

Post #6 by wartht

i have one more question.

any idea how to get the background of the sideboxes a rainbow color?

28 Oct 2011, 1:07 AM
#7
rescoccc avatar

rescoccc

Totally Zenned

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

Post #7 by rescoccc

wartht:

i have one more question.

any idea how to get the background of the sideboxes a rainbow color?

You would add background: url(../yourimage.gif); to:

.sideBoxContent {
background: url(../images/options.gif); }

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