duartepascoal19 Posted January 12, 2016 Share Posted January 12, 2016 (edited) Hello guys, I need your help to remove my subcategory image.. i already researched about this problem in this forum but everything i did, didnt work. I use the prestashop 1.6.1.3 version In attach ill send a print of what i need to remove, please help me. Edited January 12, 2016 by duartepascoal19 (see edit history) Link to comment Share on other sites More sharing options...
duartepascoal19 Posted January 14, 2016 Author Share Posted January 14, 2016 Guys, please help me, i cant find a solution for this problem. Link to comment Share on other sites More sharing options...
duartepascoal19 Posted January 19, 2016 Author Share Posted January 19, 2016 up Link to comment Share on other sites More sharing options...
emhava Posted January 19, 2016 Share Posted January 19, 2016 In category.tpl of your theme, comment out line from 48 - 68 like this: <!-- 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}> {if $category->description} <div class="cat_desc"> <span class="category-name"> {strip} {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip} </span> {if Tools::strlen($category->description) > 350} <div id="category_description_short" class="rte">{$description_short}</div> <div id="category_description_full" class="unvisible rte">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div class="rte">{$category->description}</div> {/if} </div> {/if} </div> --> Link to comment Share on other sites More sharing options...
duartepascoal19 Posted January 22, 2016 Author Share Posted January 22, 2016 In category.tpl of your theme, comment out line from 48 - 68 like this: <!-- 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}> {if $category->description} <div class="cat_desc"> <span class="category-name"> {strip} {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip} </span> {if Tools::strlen($category->description) > 350} <div id="category_description_short" class="rte">{$description_short}</div> <div id="category_description_full" class="unvisible rte">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div class="rte">{$category->description}</div> {/if} </div> {/if} </div> --> I did what you said, but the image its still there.. is there another way to do it? Link to comment Share on other sites More sharing options...
dacct Posted January 24, 2016 Share Posted January 24, 2016 I did what you said, but the image its still there.. is there another way to do it? Worked for me. Make sure you put the <!-- ... --> at the right places with the right open and close DIV's: <!-- <div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, ... </div> --> Link to comment Share on other sites More sharing options...
duartepascoal19 Posted January 25, 2016 Author Share Posted January 25, 2016 Worked for me. Make sure you put the <!-- ... --> at the right places with the right open and close DIV's: <!-- <div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, ... </div> --> I did that but the image its still there... Link to comment Share on other sites More sharing options...
duartepascoal19 Posted January 28, 2016 Author Share Posted January 28, 2016 up Link to comment Share on other sites More sharing options...
tdr170 Posted January 28, 2016 Share Posted January 28, 2016 OK rather then comment out the code just remove the image from the category, edit the category and delete the image, then in Administration, Performance turn cache off and force compile on, clear the cache from the upper right button and reload the page. Sometimes Google can be quit fussy so you may need to clear the browsers cache as well. Link to comment Share on other sites More sharing options...
duartepascoal19 Posted January 29, 2016 Author Share Posted January 29, 2016 Thanks, that solved my problem 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