| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Fashion Mosaic template Image Background | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() hello,
anyone know how can I remove product/thumbnail image background. like this product image/thumbnail has green background. I did it before but forgot how to do on 4.1.0 http://www.x-cart.com/images/skins/fashion/shot21.jpg
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#2
|
|||||||
|
|||||||
![]() I don't have that template, but I'd check either product_thumbnail.tpl or product.tpl
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks. been checking both but don't see anything in there regarding background -
here is code for product thumbnail - Code:
************ solved - just deteted Table (placed code out of table)
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#4
|
|||||||
|
|||||||
![]() could it be the bordercolor?
__________________
4.1 (unix) |
|||||||
#5
|
|||||||
|
|||||||
![]() Code:
Use Above Code. It will also get your images aligned the way it suppose to in firefox browser. Also if you want to remove background from productdetail page image too, just do same by editing product.tpl.
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#6
|
|||||||
|
|||||||
![]() Greetings, I too would like to control the image border in this template. I don't want to eliminate it, just control the size.
I tried the code you kindly supplied us with, but this just disabled the site. I am using version 1.14 2004/06/24 whereas, your code appears to be written for an earlier version. Could this be my difficulty ? Mike.
__________________
Web: X-Cart Gold 4.1.3 Apache 1.3.37 (Unix) Linux PHP 4.4.3 MySQL 4.1.19- standard Home PC Dev: X-Cart Gold 4.1.3 Uniform Server PHP 5.1.1 MySQL server 5.0.17 MySQL client 4.1.7 Web Server Apache/2.0.55 (Win32) |
|||||||
#7
|
|||||||
|
|||||||
![]() do you want to display just image border? or shrink background color border?
I am using 4.1.1 so code is for version of fashion mosaic that released for 4.1.1. Edit : Here is what I had used for 4.0.18 to remove image background. Code:
to set your border width, just change border="0" to number you like.
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#8
|
|||||||
|
|||||||
![]() Wonderful, and it works a treat. Thank you so much.
Can I also change the color of the border which at present defaults to Blue - what code should I add, please ? Grateful thanks, Mike.
__________________
Web: X-Cart Gold 4.1.3 Apache 1.3.37 (Unix) Linux PHP 4.4.3 MySQL 4.1.19- standard Home PC Dev: X-Cart Gold 4.1.3 Uniform Server PHP 5.1.1 MySQL server 5.0.17 MySQL client 4.1.7 Web Server Apache/2.0.55 (Win32) |
|||||||
#9
|
|||||||
|
|||||||
![]() I don't really remember how I did it, but this was the code for 3.4.0 that I used.
http://forum.x-cart.com/viewtopic.php?t=6765&highlight=image+border+color+ colour check it out.
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#10
|
|||||||
|
|||||||
![]() Quote:
Thank You. Mike.
__________________
Web: X-Cart Gold 4.1.3 Apache 1.3.37 (Unix) Linux PHP 4.4.3 MySQL 4.1.19- standard Home PC Dev: X-Cart Gold 4.1.3 Uniform Server PHP 5.1.1 MySQL server 5.0.17 MySQL client 4.1.7 Web Server Apache/2.0.55 (Win32) |
|||||||
|
|||
X-Cart forums © 2001-2020
|