Jump to content

[Résolu] Problème Déplacement miniatures thumbs


Recommended Posts

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 retrouve
dans 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_list
mais 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 !

39254_JmZLQg4M69uTEW9nB0iy_t

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...