Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding border to product thumbnails and large images

Adding border to product thumbnails and large images

Locked

Views: 2,420

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Jul 2007, 3:49 PM
#1
wgvania avatar

wgvania

New Zenner

Join Date:
Apr 2007
Posts:
35
Plugin Contributions:
0

Adding border to product thumbnails and large images

Is it possible to add a border around only pictures related to products (thumbnails, large images, additional views, etc).

I tried adding a border in the stylesheet.css but it applied the border to ALL images on the site, including my logo, etc.

26 Jul 2007, 3:57 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Adding border to product thumbnails and large images

#productListing img, #productGeneral img { border: etc...;}

Other pages can be added to this list, or it can be narrowed further if desired.

26 Jul 2007, 4:17 PM
#3
wgvania avatar

wgvania

New Zenner

Join Date:
Apr 2007
Posts:
35
Plugin Contributions:
0

Re: Adding border to product thumbnails and large images

Thanks so much for the help! Is there a way to prevent it from making a border around my button images?

27 Jul 2007, 8:36 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Adding border to product thumbnails and large images

Find out what class applies to the button images and style that as border: none;

View Source may be able to give you the required info, or use the Firefox Web Developer extension tools.