stl314 Posted November 11, 2016 Share Posted November 11, 2016 I have a category lets call "Shop by Type" and under that I have 5 children categories, when I click on Shop by Type it takes me to shop-by-type.html and list all of my children categories with thumbnail images. I would rather it just be a list with no thumbnails. How do I remove them? Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 12, 2016 Share Posted November 12, 2016 For only "shop-by-type", of for every category that has sub-categories? If only for the one, then we can add a test in the template to suppress the <img> tag. In the template content.category.php, find: Near line 27-29: <a href="{$subcat.url}" title="{$subcat.cat_name}"> <img class="th" src="{$subcat.cat_image}" alt="{$subcat.cat_name}"> </a> Change to: {if $category.cat_id ne 9}{* Get the category ID number of the category you want to hide thumbnails *} <a href="{$subcat.url}" title="{$subcat.cat_name}"> <img class="th" src="{$subcat.cat_image}" alt="{$subcat.cat_name}"> </a> {/if} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.