Hello everyone,
Hope we are all well :)
Does anyone know how to add a drop shadow and a rounded border to both the products main image and the product listing images only?
I have tried:
.centerColumn img {
border: 1px outset #EEEEEE;
border-radius:5px;
box-shadow: 1px 1px 1px #888888;
}
Which give the desired effect but also adds a shadow & border to all of the images that I have manually inserted into the category pages and product pages etc.
I have also tried:
a img {
border: 1px outset #EEEEEE;
border-radius:5px;
box-shadow: 1px 1px 1px #888888;
}
Which gives the desired effect to just about every image on the website, along with the logo picture!
My last attempt was:
#productMainImage{
border: 1px outset #EEEEEE;
border-radius:5px;
box-shadow: 1px 1px 1px #888888;
}
Which works perfectly, but does not give the effect for the product listing pages, obviously.
I have just tried:
#productListingImage{
border: 1px outset #EEEEEE;
border-radius:5px;
box-shadow: 1px 1px 1px #888888;
}
But this doesn't do anything.
Does anyone know the seperate classes or combined code to make the product listing and the main products image have a drop shadow and border (I only want these two types of images to feature the border & shadow).
Many thanks for any help :)


Reply With Quote
