Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Border around Product Listing Image

Border around Product Listing Image

Locked

Views: 1,968

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
2 Aug 2006, 4:32 AM
#1
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

Border around Product Listing Image

Hi,

How do I add a border around an image ONLY in the product listing page?

2 Aug 2006, 4:37 AM
#2
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Border around Product Listing Image

Add this to the css you are using :

.productListing-data img
{ border: 1px solid #000000;}

Of course using the color of your choice :)

Hope that helps :thumbsup:

2 Aug 2006, 4:54 AM
#3
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

Re: Border around Product Listing Image

Tina, this doesn't work. I don't have that ID .productListing-data img
located anywhere on my page. I'm using the latest version on zen if that helps any.

:schmoll:

2 Aug 2006, 4:57 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,794
Plugin Contributions:
15

Re: Border around Product Listing Image

.productListing-data img {
border: 5px outset #FFFFFF;
}

Cool effect.

2 Aug 2006, 5:05 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,794
Plugin Contributions:
15

Re: Border around Product Listing Image

:oops:shouldn't have copied

should be > #productMainImage img {

border: 5px outset #FFFFFF;
}

Cool effect.

2 Aug 2006, 5:12 AM
#6
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Border around Product Listing Image

I know you don't have it - just add it in. It isn't anything to modify it is an addition to the stylesheet.

You can control lot's of things by adding to the end of the supplied css.

2 Aug 2006, 5:52 AM
#7
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

Re: Border around Product Listing Image

Tina, I meant that that ID tag does not exist at all in my product listing page - using Firefox Web Developers >> Info >> Show ID, that ID does not come up. Because of that, when I do include that code into the stylesheet that I am using, nothing happens to my product listing images.

Before this thread, I tried putting some CSS into the stylesheet myself using some of the IDS that were related to the product listing, but was not successful.

I am using the columns module if that has an affect at all. :blink:

2 Aug 2006, 6:54 AM
#8
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Border around Product Listing Image

Please refer to the thread below, with solutions for added image border,

both for:

  1. Normal Product Listing, without mod
  2. Column Layout Grid, mod for Product Listing,

Product listing image borders

.

2 Aug 2006, 3:47 PM
#9
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Border around Product Listing Image

TurtleDove:

Tina, I meant that that ID tag does not exist at all in my product listing page - using Firefox Web Developers >> Info >> Show ID, that ID does not come up. Because of that, when I do include that code into the stylesheet that I am using, nothing happens to my product listing images.

Before this thread, I tried putting some CSS into the stylesheet myself using some of the IDS that were related to the product listing, but was not successful.

I am using the columns module if that has an affect at all. :blink:

Sorry then you and I aren't looking at the same page.

I looked at what I have always considered the product listing page and I changed it using FF CSS editor before I posted my reply.

I apologize.:sleepy:

2 Aug 2006, 5:34 PM
#10
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

Re: Border around Product Listing Image

seethrou:

Please refer to the thread below, with solutions for added image border,

both for:

  1. Normal Product Listing, without mod
  2. Column Layout Grid, mod for Product Listing,

Product listing image borders

.

thanks for the link seethrou :D . i guess my having the columns module affected it.