kamaaina Posted April 13, 2015 Share Posted April 13, 2015 How do I replace the 'Category heading text' with the relevant sub-category thumbnail image? See attached image for issue. Please help I'm stuck and have looked everywhere for fix. Link to comment Share on other sites More sharing options...
kamaaina Posted April 13, 2015 Author Share Posted April 13, 2015 in category.tpl this is the code that brings up the category text heading, I need to replace it with the relevant category/sub-category thumbnail image instead of the category name. {if $category->id AND $category->active} <h1 class="page-heading{if (isset($subcategories) && !$products) || (isset($subcategories) && $products) || !isset($subcategories) && $products} product-listing{/if}"> <span class="cat-name"> {$category->name|escape:'html':'UTF-8'}{if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'}{/if} </span></h1> Link to comment Share on other sites More sharing options...
sandipchandela Posted April 14, 2015 Share Posted April 14, 2015 You to copy css file along with its images and will have to put if condition in category.tpl so that system will put css according to category name. Link to comment Share on other sites More sharing options...
kamaaina Posted April 14, 2015 Author Share Posted April 14, 2015 thanks - but I'm not proficient enough to do coding, any input on how to do this would be appreciated Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now