Missalby Posted June 9, 2010 Share Posted June 9, 2010 Hi allI was wondering if someone could please help me with this.What i am trying to do is make it so there is no image above the products in a subcategory but when i delete this it deletes the category logo image on the parent category. I also would like to keep the parent heading image.I tried image mapping and inserting a pixel of white but it blows it out and i end up with a huge white spacehttp://www.chiclinen.com.au/category.php?id_category=6I hope this makes sense Link to comment Share on other sites More sharing options...
rocky Posted June 9, 2010 Share Posted June 9, 2010 You'll need to change lines 20-24 of category.tpl in your theme's directory from: {else} <!-- Category image --> {if $category->id_image} <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" /> {/if} to: {*{else} <!-- Category image --> {if $category->id_image} <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" /> {/if}*} Link to comment Share on other sites More sharing options...
Missalby Posted June 9, 2010 Author Share Posted June 9, 2010 Thankyou! worked perfectly 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