Homer7 Posted February 25, 2011 Share Posted February 25, 2011 Problème résolu avec un width sur product.tpl Bonjour,Je cherche a déplacer le bloque miniature sur la droite de l'article sur un thème TM mais je me retrouvedans ce cas avec un dépassement sur la droite du bloque article. Voici une photo pour mieux comprendre.. J'ai bien essayé avec firedebug de changer qq valeurs sur les thumbs_listmais sans succès je ne comprends pas pourquoi j'ai la valeur width 591 sous firedebug ..mon css donne ceci /* views block */ #views_block {width:300px;} #thumbs_list {} #thumbs_list ul {width:305px;overflow:hidden;} #thumbs_list li {width:98px;height:98px;float:left;cursor:pointer;margin:3px 3px 0 0;} /* FIX MAGICZOOM */ /* OLD #thumbs_list li a img {width:96px;height:96px;border:1px solid #dadada;} */ #thumbs_list li a img {border:1px solid #dadada;} mon product.tpl {if count($images) > 0} <!-- thumbnails --> {foreach from=$images item=image name=thumbnails} {assign var=imageIds value=`$product->id`-`$image.id_image`} getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" rel="other-views" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}"> getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" /> {/foreach} {/if} {* {if count($images) > 1} getProductLink($product)}" onclick="$('span#wrapResetImages').hide('slow');return (false);">{l s='Display all pictures'}{/if}*} Si quelqu'un avait une idée Merci ! 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