Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / sidebox images/background

sidebox images/background

Views: 685

Results 1 to 6 of 6
4 Feb 2011, 11:45 PM
#1
maxy007 avatar

maxy007

Zen Follower

Join Date:
Dec 2010
Posts:
248
Plugin Contributions:
0

sidebox images/background

I've changed my sideboxes to images. I have a file called tile_back gif that is 10x35. I think that makes up the footer along the bottom of my site (dark purple).

Because I've changed the sideboxes the tile_back.gif file is now showing up on each of the sidebox headings. If I change the tile_back.gif file to the same colour as the light purple, the footer of the webpage changes as well.

How do i keep the footer dark purple and get rid of the dark purple at the side of the sideboxes?

I hope this makes sense!! :wacko:

Cheers,

Maxy

5 Feb 2011, 12:06 AM
#2
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: sidebox images/background

in your style sheet:
.centerBoxHeading, .leftBoxHeading, .rightBoxHeading {

margin: 0em;

background-color: #abbbd3;

background-image: url(../images/tile_back.gif);

padding: 0em 0.2em;

comment that out

5 Feb 2011, 12:09 AM
#3
maxy007 avatar

maxy007

Zen Follower

Join Date:
Dec 2010
Posts:
248
Plugin Contributions:
0

Re: sidebox images/background

Hi Donal
Thanks for replying.

Sorry to be so dense!!
How do I comment that out??

I really am learning :)

5 Feb 2011, 12:21 AM
#4
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: sidebox images/background

/background-image: url(../images/tile_back.gif);/

5 Feb 2011, 12:30 AM
#5
maxy007 avatar

maxy007

Zen Follower

Join Date:
Dec 2010
Posts:
248
Plugin Contributions:
0

Re: sidebox images/background

So when someone says comment it out they meant to use /.../

Excellent!!

Thank you so much!!

5 Feb 2011, 10:14 AM
#6
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: sidebox images/background

maxy007:

So when someone says comment it out they meant to use /.../

FYI
It depends, /*... */ is for css, and multi line php
for one line of php //
for html it is <!-- ... -->