dstockmax Posted July 30, 2011 Share Posted July 30, 2011 Bonjour je voudrais modifier la dimension des logos sans résultat possitif j'ai modifier le global.css et product.tpl de mon thème pour que l'image soit en 90px x 90px : Cela fonctionne pour le cadre mais ne ragrandi pas l'image ! ligne 850 #primary_block a.color_pick { border: 1px solid #666666; cursor: pointer; display: block; height: 90px; width: 90px; modifier le product.tpl du theme : ligne 167 <!-- colors --> <div id="color_picker"> <p>{l s='Pick a color:' js=1}</p> <div class="clearblock"></div> <ul id="color_to_pick_list"> {foreach from=$colors key='id_attribute' item='color'} <li><a id="color_{$id_attribute|intval}" class="color_pick" style="background: {$color.value};" onclick="updateColorSelect({$id_attribute|intval});$('#wrapResetImages').show('slow');" title="{$color.name}">{if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')}<img src="{$img_col_dir}{$id_attribute}.jpg" alt="{$color.name}" width="90" height="90" />{/if}</a></li> {/foreach} </ul> <div class="clearblock"></div> </div> {/if} {if ($product->show_price AND !isset($restricted_country_mode)) OR isset($groups) OR $product->reference OR (isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS)} image ci dessous du résultat la petit image dans le cadre blanc ne s’agrandit pas ! 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