X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Product Picture Border (https://forum.x-cart.com/showthread.php?t=38262)

Keys Care 03-12-2008 03:50 PM

Product Picture Border
 
I am trying to get rid of the black border around my product pictures. Can someone direct me to where can reformat these borders? I have looked in the CSS Skin 1, but cannot figure our where they are called.

Thanks

Bob

kube 03-12-2008 04:10 PM

Re: Product Picture Border
 
locate in your skin1.css the selector .ProductBorder

and change to...

.ProductBorder {
border:0;
}

Or if you're keen, and you want cleaner code, remove it all together from the relevant .tpl and then remove the .ProductBorder from skin1.css as it doesn't serve any function. But if you're unsure and may want to use it in future, keep it to border:0

Keys Care 03-12-2008 04:15 PM

Re: Product Picture Border
 
Thanks! I looked at the part of the code 10 times and could not see the obvious

Regards,

Bob

Holub 03-13-2008 12:37 AM

Re: Product Picture Border
 
You should include into skin1.css new style like
IMG {
border:0;
}


All times are GMT -8. The time now is 07:41 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.