Zen Cart Logo
Forums / General Questions / CSS How DO I Put a Border Round Special Listings Images?

CSS How DO I Put a Border Round Special Listings Images?

Locked

Views: 845

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 Jun 2009, 12:04 PM
#1
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

CSS How DO I Put a Border Round Special Listings Images?

Hi All,

At present, I have a border round all my images using CSS in product listing, all products and new products using the stylesheet codes below:

#featuredProducts img {
border: 1px solid #000;
}

#whatsNew img {
border: 1px solid #000;
}

.listingProductImage {
border: 1px solid #000;
}

.new_products img {
border: 1px solid #000;
}

.all_products img {
border: 1px solid #000;
}

What am I missing here because my special product listings (set as homepage) do not have a 1px; border whereas all other pages do?!

Anyone?

10 Jun 2009, 12:19 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: CSS How DO I Put a Border Round Special Listings Images?

.centerBoxContentsSpecials img {
        border: solid 1px #000000;
        }
10 Jun 2009, 12:30 PM
#3
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: CSS How DO I Put a Border Round Special Listings Images?

Excellent Kobra, that's done the trick, thank you....