Jump to content

SOLVED: Remove image from sub category header


Recommended Posts

Hi there

 

I would like to know how to remove the image from the header in the subcategory product page.

 

You will see here what I mean http://www.therugshoponline.co.uk/index.php?id_category=13&controller=category&live_configurator_token=8031bf20aa8ab6d7dce1d2f7aa20c205&id_shop=1&id_employee=1&theme=&theme_font=

 

I would like it to display the same as the categories that don't have an image on them, like this one http://www.therugshoponline.co.uk/index.php?id_category=28&controller=category&live_configurator_token=8031bf20aa8ab6d7dce1d2f7aa20c205&id_shop=1&id_employee=1&theme=&theme_font=

 

Thanks

 

Adam

Edited by fishmongery (see edit history)
Link to comment
Share on other sites

hello

open category.tpl file

 

there is a code:
 

{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}  

replace it with:
 

<div class="content_scene_cat_bg">
Link to comment
Share on other sites

×
×
  • Create New...