Jump to content

modifier la hauteur des cellules du bloc "Produits phares"


Recommended Posts

Bonjour,

Je souhaiterai modifier la hauteur des cellules du bloc "Produits phares"

Actuellement elles font 359 pix de haut et je souhaiterai les ramener  à 330 pix pour supprimer l'espace vide en dessous.

Je ne trouve pas la ligne de code à modifier dasn le css bien que je l'ai identifiée avec Firebug

Merci

 

 <div id="featured-products_block_center" class="block products_block">

<h4>Notre sélection</h4>
<div class="block_content">
<ul style="height:1080px;">
<li ass="ajax_block_product first_item clear " style="height:359px!important;">
<li ass="ajax_block_product item " style="height:359px!important;">
<li ass="ajax_block_product item " style="height:359px!important;">
<li ass="ajax_block_product item last_item_of_line " style="height:359px!important;">
<li ass="ajax_block_product item clear " style="height:359px!important;">
<li ass="ajax_block_product item " style="height:359px!important;">
etc ...  etc ...   etc ...   etc ...
</ul>
</div>
</div>
</div>
Link to comment
Share on other sites

mais bon, comme un grand j'ai trouvé tout seul : 

c'est dans le site : http://www.klaus-boutik.com/creches-de-noel

 

premiérement il faut ouvrir le fichier : homefeatured.tpl soit dans le dossier themes/votre_theme/modules/homefeatured/

si vous ne trouvez pas ce module ou ce dossier, alors c'est dans la racine de votre site dans modules/homefeatured/

 

donc il faut supprimé l'indication : style="height:359px!important;"

et aprés ouvrir le fichier global.css du theme et modifier la ligne : 1945 là ou il y a 325px

div#center_column #featured-products_block_center ul li{height : 325px!important;}#conditions h2 { background: transparent url('../img/title_bg_large.gif') no-repeat top left; }

Link to comment
Share on other sites

Bonjour

Merci pour la réponse. Le lien de mon site est dans la signature.

J'ai bien identifié homefeatured.tpl et la ligne en question :

 

<li style="height:359px!important;   " ass="ajax_block_product {if $smarty.foreach.homeFeaturedProducts.

 

Donc je fais ca  ?

<li " ass="ajax_block_product {if $smarty.foreach.homeFeaturedProducts.

 

Pour le CSS c'est bon

Edited by Klaus Boutik (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...