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)
-   -   Image borders (https://forum.x-cart.com/showthread.php?t=56028)

epic 10-14-2010 10:29 AM

Image borders
 
Can someone please tell me a simple way to put a border around 'every' product image, including thumbnails. Cheers

Needlejig 10-16-2010 10:08 AM

Re: Image borders
 
add this to your CSS. You can change the style, color and width to whatever you like.

.product-details img {
border-style: solid;
border-color: #ff0000;
border-width: 1px;
}

epic 10-18-2010 05:58 AM

Re: Image borders
 
That's great! It worked a treat, thank you very much!

I do need the same for all product pics on the site, thumbnails and category pics. If you could help further I would be most grateful.

Needlejig 10-18-2010 06:08 AM

Re: Image borders
 
Let me know what the site URL is and I will take a look.

epic 10-18-2010 06:14 AM

Re: Image borders
 
www.eternalflow.biz

Needlejig 10-18-2010 06:28 AM

Re: Image borders
 
Simply change the .product-details from the last one to .content and see if that is what you are looking for. So it looks like this:
Quote:

.content img {
border-style: solid;
border-color: #ff0000;
border-width: 1px;
}

epic 10-18-2010 08:06 AM

Re: Image borders
 
Once again, thank you!.. That's the product details pic and thumbnails done... the only pics without the border now are the category pics. Is that easy to solve?

Needlejig 10-18-2010 08:15 AM

Re: Image borders
 
Just add the same border to the center-main div images.

Quote:

#center-main img {
border-color:#51050F;
border-style:solid;
border-width:3px;
}

epic 10-18-2010 09:04 AM

Re: Image borders
 
You don't know how much stress you've saved me from! Your knowledge is unbelievable!
The centre main images now have a border too! There is an issue with the table size for these images obviously being too small as the right hand border is cut off, probably as the photo is larger than the table size. Because of the amount of help you've given so far I feel embarrassed asking where I'd alter this sizing. If you know, my day would be complete, but if not then you have already helped more than you know... Thank you

Needlejig 10-18-2010 11:38 AM

Re: Image borders
 
I just sent you a PM. You also might want to think about doing something with your speedbar at the top of the page. It is barely visible with some page widths.


All times are GMT -8. The time now is 01:54 AM.

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