dtropic Posted February 23, 2015 Share Posted February 23, 2015 Bonjour à tous, Je souhaite supprimer l'image en haut d'une sous catégorie, ci-joint une image (le pain entouré de blanc). Merci à tous pour votre aide Link to comment Share on other sites More sharing options...
dtropic Posted February 24, 2015 Author Share Posted February 24, 2015 Personne peut m'aider ? voici le code que j'ai trouvé à l'aide de firebug : <div style="background:url(http://localhost:8888/prestashop/c/12-category_default/le-sale.jpg) right center no-repeat; background-size:cover; min-height:200px;" class="content_scene_cat_bg"> </div> Lorsque je le supprime dans firebug ça fonctionne, l'image n'apparait pas, mais je n'arrive pas à retrouver ce code dans category.tpl est ce celui la ? Que faut il supprimer ? <!-- 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> {/if} </div> {/if} Merci pour votre aide 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