![]() |
subcategory images - change size
Hi All,
I have images for my subcategories and have noticed that the images are the same size as the standard thumbnail size (mine are 150 x 150) however I wish to make the subcategory images smaller (not all the thumbnails) I've been looking in the subcategory.tpl files but can not find any dimensions to alter for this. Could you please offer any suggestions? Also is there a way to show all the products in a subcategory when you click on it? Currently if I click on a main category it will show all the products in it, but clicking on a sub does not. Many thanks |
Re: subcategory images - change size
Change the div height or width and it will proportionally scale assuming the other dimension is not specified.
|
Re: subcategory images - change size
Thanks for the suggestion however I'm still a little lost.
In firebug it is telling me I can edit the following. element.style: { min-height: 220px; min-width: 150px Width: 150px; } yes I'm unable to find this anywhere.? |
Re: subcategory images - change size
If for categories you use a list:
skin1/customer/main/products_list.tpl Code:
<div class="image"{if $config.Appearance.thumbnail_width gt 0 || $product.tmbn_x gt 0} style="width: {$max_images_width|default:$config.Appearance.thumbnail_width|default:$product.tmbn_x}px;"{/if}> If you use columns: skin1/customer/main/products_t.tpl Code:
a href="{$product.alt_url|default:$product.page_url|amp}">{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url}</a> You need to edit the sizes and such defined by smarty in the product_thumbnail include line. You also need to edit the div class image inline styling defined by smarty if you use the list. |
Re: subcategory images - change size
Hi Shamun,
Many thanks for the response. I have edited the sub category images to make them smaller, however the file is located in the; skin1\customer\main\subcategories_t.tpl file. Thanks for your assistance, now I'm just playing to get them no not left align, but center. |
All times are GMT -8. The time now is 10:50 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.