Jump to content

changer paramètre d'affichage d'image de catégorie


Recommended Posts

Bonjour,

 

J'aimerai savoir dans quel fichier se trouve les paramètres d'affichage de l'image associée à une catégorie.

 

J'aimerai changer le paramètre "contain" en "cover" pour que l'image s'affiche sur la totalité

du bandeau : sans marge

 

https://numeridisc.fr/185-video

 

Par avance merci pour votre aide

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

Bonjour

 

ces informations se trouve dans le fichier category.tpl ligne ~48

<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'}) 0 
top no-repeat; background-size:contain; min-height:{$categorySize.height}px;" {/if}>
Edited by S-HAMMANI (see edit history)
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...