I added the image border to my stylesheet, and I like it around my product images, but not on my logo image, how do I remove the border from the logo image ONLY?
Site: www.halosweddingfavors.com
I added the image border to my stylesheet, and I like it around my product images, but not on my logo image, how do I remove the border from the logo image ONLY?
Site: www.halosweddingfavors.com
Halo's Ethereal Favors - Wedding Favors, Baby Shower Favors, Baby Gifts & more!
Visit Our Blog:Halo's Favors Blog
Add this to your stylesheet:
What that does is effect all the img tags inside the div #logo. You can build up specific rules like this. So, what might be better is to put the border into only the product images specifically.Code:#logo img{border:none;}
Nick
iszent.com
How did you add the image border in the stylesheet?
Could you please send the exact script.
Thanks
To add a border to all images the rule in the stylesheet would be:
img{
border: 1px solid #4d4d4d;
}
1px is the width of the border
solid is the style of the border
#4d4d4d is the color of the border
Nick
iszent.com
Thanks for the code.
However, when I do this, it adds a border even to the buttons. Incidentally, I have rounded buttons. Also to the logo image in the header and the bullets (images) in the category box. Have a look at http://raunharman.co.in/fashion_jewe...=index&cPath=8
So, this looks slightly odd.
Any help would be greatly appreciated.
Thanks.
So as niccol said, you would put the border on product images only.
Code:.categoryListBox img, .listingProductImage, .productMainImage img {border: 1px solid #4d4d4d;}
I cant get this to work on my main page. the border only comes up on the specific product's info page.
http://www.thegearvault.com
indexpage is listing New Products but I can't get them to have a border there or in their category listing.
will do the New Products but I suspect you won't like the effect...Code:.centerBoxContentsNew img{ border:3px red solid }
Likewise for the product listing:
Code:.listingProductImage{ border:3px solid red; }
Nick
iszent.com
I have included the suggested css in my stylesheet and it's not working. I'm trying to add a border to every product image on the site.
Well, the css that Glenn posted is a good solution for all the images. If it isn't working then you may not be adding it correctly to the correct stylesheet. We'd need to see the site to let you know....
Nick
iszent.com