Jump to content

How do i remove subcategories picture?


Recommended Posts

Hey Presta and thanks for your help in advance.

I would really like to get rid of the subcategories picture, but not the mini pictures displayed when u click on the subcategory; instead i want to get rid of the same picture it displays at the top when you enter the category.

Please check my screenshot to see what i mean:   post-1072949-0-52607300-1443723720_thumb.jpg

 

 

 

Link to comment
Share on other sites

I had the same problem. I'm not 100% sure how I fixed it but I believe it was like this:

 

In your category.tpl file look for something like the bolded:

 

<!-- Category image -->
                    <div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) right center no-repeat; background-size:cover; min-height:{$categorySize.height}px;"{/if}>
 
It was on line 47 and 48 for me. You can make that into a comment by adding {**} and it should disappear.
 
so it would be like this:
 
{*<div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) right center no-repeat; background-size:cover; min-height:{$categorySize.height}px;"{/if}>*}
 
Hope it helps.
 
 
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...