![]() |
Fashion Mosaic template Image Background
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 |
I don't have that template, but I'd check either product_thumbnail.tpl or product.tpl
|
Thanks. been checking both but don't see anything in there regarding background -
here is code for product thumbnail - Code:
{* $Id: product_thumbnail_cust.tpl,v 1.1 2006/01/19 13:35:09 max Exp $ *} ************ solved - just deteted Table (placed code out of table) |
bordercolor
could it be the bordercolor?
|
Code:
{* $Id: product_thumbnail_cust.tpl,v 1.1 2006/01/19 13:35:09 max Exp $ *} 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. |
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. |
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:
{* $Id: product_thumbnail.tpl,v 1.14 2004/06/24 09:53:29 max Exp $ *} to set your border width, just change border="0" to number you like. |
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. |
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. |
Quote:
Thank You. Mike. |
Re: Fashion Mosaic template Image Background
I used the code for gettind rid of the thumbnail bg in product_thumbnail.tpl
for version 4.0 and now my images don't show up at all, in place of the image I get code showing up.. Here is the code I am using : {* $Id: product_thumbnail.tpl,v 1.14 2004/06/24 09:53:29 max Exp $ *} {if $config.Appearance.show_thumbnails eq "Y"}[img]{if $tmbn_url}{$tmbn_url}{else}{if $full_url}{$http_location}{else}{$xcart_web_dir}{/if}/image.php?productid={$productid}{if $file_upload_data.file_path}&tmp=y{/if}{/if}[/img]"{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" {if $usertype ne "C"}border="0"{else}class="ProductBorder"{/if}>{if $usertype eq "C"}</DIV>{/if} {/if} |
Re: Fashion Mosaic template Image Background
Hi,
I'm also using the Fashion Mosaic background and I cannot also cannot find where to get rid of this border on the thumbnail images. I have looked in the product.tpl, product_t.tpl, thumbnail.tpl and even the skin1.css and I cannot find where to either change the colour or reduce the size, as any references already say border width=0, or border=0. The one reference in the skin1.css to productborder shows a colour which I'm not even using. Can anyone help please? |
All times are GMT -8. The time now is 01:04 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.