Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Possible for another background image behind product listings?

Possible for another background image behind product listings?

Locked

Views: 1,801

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
11 Mar 2008, 9:44 PM
#1
obinyc avatar

obinyc

New Zenner

Join Date:
Feb 2008
Posts:
8
Plugin Contributions:
0

Possible for another background image behind product listings?

The title pretty much says it all...is it possible to put a background image only behind the product listings? The pictures are white and I was wondering if it were possible to create a white background only for the product listings container so that each item listing picture would better blend in with their immediate surroundings....

http://www.queensspyshop.com/

11 Mar 2008, 9:54 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Possible for another background image behind product listings?

Add to your stylesheet:

.narminaProductsRow {background: #aabbcc url(../images/yourbg.gif);}

You can apply this to .narminaProductsBox or .narminaProductsCell instead, if you wish, for slightly different results. Adjust properties to suit.

11 Mar 2008, 10:56 PM
#3
obinyc avatar

obinyc

New Zenner

Join Date:
Feb 2008
Posts:
8
Plugin Contributions:
0

Re: Possible for another background image behind product listings?

gjh42:

Add to your stylesheet:

.narminaProductsRow {background: #aabbcc url(../images/yourbg.gif);}

You can apply this to .narminaProductsBox or .narminaProductsCell instead, if you wish, for slightly different results. Adjust properties to suit.

Thanks for that but for some reason, the image doesn't seem to place properly on the product listings as you can see...http://www.queensspyshop.com Anything you could suggest?

11 Mar 2008, 11:05 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Possible for another background image behind product listings?

You don't currently have this active, so I can't tell why it wasn't working correctly for you. Was it the position of the image? That can be affected with

background-position: center center;
or
background-position: top left;
etc., and
background-repeat: no-repeat;
or
background-repeat: repeat-x;
etc.