fishmongery Posted February 2, 2015 Share Posted February 2, 2015 (edited) 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 February 3, 2015 by fishmongery (see edit history) Link to comment Share on other sites More sharing options...
fishmongery Posted February 3, 2015 Author Share Posted February 3, 2015 Can anyone help with this please? Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2015 Share Posted February 3, 2015 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 More sharing options...
fishmongery Posted February 3, 2015 Author Share Posted February 3, 2015 Thanks Vekia I have replaced that code now (see attached screenshot) but it has not sorted the problem. See here http://www.therugshoponline.co.uk/index.php?id_category=13&controller=category Thanks Adam Link to comment Share on other sites More sharing options...
Nono Arena Posted February 3, 2015 Share Posted February 3, 2015 Thank Vekia , I was looking just that , and it works perfect Link to comment Share on other sites More sharing options...
vekia Posted February 3, 2015 Share Posted February 3, 2015 Screen Shot 2015-02-03 at 15.43.08.pngThanks Vekia I have replaced that code now (see attached screenshot) but it has not sorted the problem. See here http://www.therugshoponline.co.uk/index.php?id_category=13&controller=category Thanks Adam you have to recompile theme and cache youtube.com/watch?v=8u590nf65Mg Link to comment Share on other sites More sharing options...
fishmongery Posted February 3, 2015 Author Share Posted February 3, 2015 Yes, that solved it. Thanks Vekia Link to comment Share on other sites More sharing options...
Recommended Posts