Klaus Boutik 4 Posted October 31, 2013 (edited) Bonjour Je souhaiterais modifier la hauteur du tableau composant le bloc "Produit phares" Impossible de trouver le fichier à modifier que j'ai pourtant identifié. Merci pour votre aide Voici le code : <div id="page"> <div> <div id="left_column" class="column"> <div id="center_column"> <script type="text/javascript"> <div class="featured clearfix" style="width: 550px; display: block;"> <div class="clear"></div> <div id="editorial_block_center" class="editorial_block"> </div> <div id="featured-products_block_center" class="block products_block"> <h4>Notre sélection</h4> <div class="block_content"> <ul style="height:1080px;"> à remplacer par 980 <li class="ajax_block_product first_item clear " style="height:325px!important;"> <li class="ajax_block_product item " style="height:325px!important;"> <li class="ajax_block_product item " style="height:325px!important;"> <li class="ajax_block_product item last_item_of_line " style="height:325px!important;"> <li class="ajax_block_product item clear " style="height:325px!important;"> <li class="ajax_block_product item " style="height:325px!important;"> <li class="ajax_block_product item " style="height:325px!important;"> <li class="ajax_block_product item last_item_of_line " style="height:325px!important;"> <li class="ajax_block_product item clear " style="height:325px!important;"> <li class="ajax_block_product item " style="height:325px!important;"> <li class="ajax_block_product item " style="height:325px!important;"> <li class="ajax_block_product last_item last_item_of_line " style="height:325px!important;"> </ul> </div> </div> </div> <div id="right_column" class="column"> <br> <br> <div id="footer"> </div> Edited October 31, 2013 by Klaus Boutik (see edit history) Share this post Link to post Share on other sites
Superbegood31 62 Posted October 31, 2013 Bonjour, Tout ce trouve dans modules/homefeatured/homefeatured.tpl dans la vraible {$ulHeight} A vous d'indiquer en fixe ou de jouer avec la fonction math equation Share this post Link to post Share on other sites
Klaus Boutik 4 Posted October 31, 2013 (edited) merci J'ai changé {$ulHeight} par 980 et j'ai une page blanche !! Voici le code : <div class="block_content"> {assign var='liHeight' value=360} {assign var='nbItemsPerLine' value=4} {assign var='nbLi' value=$products|@count} {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} {math equation="nbLines*liHeight" nbLines=$nbLines|ceil liHeight=$liHeight assign=ulHeight} <ul style="height:{$ulHeight}px;"> {foreach from=$products item=product name=homeFeaturedProducts} En fait je souhaite enlever l'espace blanc sous le bloc produits phares http://www.klaus-boutik.com/ Edited October 31, 2013 by Klaus Boutik (see edit history) Share this post Link to post Share on other sites
Superbegood31 62 Posted October 31, 2013 Avez-vous vidé le cache ? Share this post Link to post Share on other sites
Superbegood31 62 Posted October 31, 2013 Avez-vous fait ceci ? <ul style="height:980px;"> Share this post Link to post Share on other sites
Klaus Boutik 4 Posted October 31, 2013 Non mais je mets ca ou exactement et à la place de quoi? Pouvez vous réécrire la ligne entière svp car maintenant vous rajouter des crochets au lieu d'accolade (Vous vous adressez à un novice je rapelle) Share this post Link to post Share on other sites
Superbegood31 62 Posted October 31, 2013 Remplacer <ul style="height:{$ulHeight}px;"> Par <ul style="height:980px;"> Share this post Link to post Share on other sites