Jump to content

Hide subcategory thumbnails


Recommended Posts

Hello,

 

I have created subcategories for categories; however, I would like to hide the thumbnails because we have more subcategories and it looks weird.

 

Is it possible? I have bought template not a default

 

http://www.amelle.sk/26-telo this is the link to subcategories of one category

 

All of the picture we would like to hide, but keeping the subcategories links, just hide.

 

We use subcategories inAdvanced Horizonatl menu for quicker navigation

 

Thanks for any help

 

 

Link to comment
Share on other sites

you can do it in category.tpl file

by default, code for thumbnails looks like:

<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}" class="img">
						{if $subcategory.id_image}
							<img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')|escape:'html'}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />
						{else}
							<img src="{$img_cat_dir}default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />
						{/if}
					</a>

just remove this code.

if you use non default theme - you should have something similar

Link to comment
Share on other sites

×
×
  • Create New...