Jump to content

thumbnails problème de marge sous

Recommended Posts

Bonjour à tous,


je cherche juste à créer un espace entre les thumbs dans firebug il y a un width:363px :


<div id="thumbs_list"><ul id="thumbs_list_frame" style="width: 363px;">


je n'ai rien trouvé dans product.tpl :


<div id="thumbs_list">
                    <ul id="thumbs_list_frame">
                        {if isset($images)}
                            {foreach from=$images item=image name=thumbnails}
                                {assign var=imageIds value="`$product->id`-`$image.id_image`"}


je veux juste changer width: 363px; en width: 455px;





Share this post

Link to post
Share on other sites



Il semblerai que ce soit le product.js qui pilote cette donnée.

./themes/default/js/product.js:471:	$('#thumbs_list_frame').scrollTo('li:eq(0)', 700, {axis:'x'});
./themes/default/js/product.js:481:		if (parseInt($('#thumbs_list_frame >li:visible').length) < parseInt($('#thumbs_list_frame >li').length))
./themes/default/js/product.js:489:		if (parseInt($('#thumbs_list_frame >li').length) == parseInt($('#thumbs_list_frame >li:visible').length))
./themes/default/js/product.js:493:	var thumb_width = $('#thumbs_list_frame >li').width() + parseInt($('#thumbs_list_frame >li').css('marginRight'));
./themes/default/js/product.js:494:	$('#thumbs_list_frame').width((parseInt((thumb_width) * $('#thumbs_list_frame >li').length)) + 'px');
./themes/default/mobile/product-images.tpl:34:			<ul id="gallery" class="thumbs_list_frame clearfix">
./themes/default/mobile/js/product.js:327:			/*$('#thumbs_list_frame').scrollTo('li:eq(0)', 700, {axis:'x'});*/
./themes/default/mobile/js/product.js:338:				/*var thumb_width = $('#thumbs_list_frame >li').width()+parseInt($('#thumbs_list_frame >li').css('marginRight'));
./themes/default/mobile/js/product.js:339:				$('#thumbs_list_frame').width((parseInt((thumb_width)* i) + 3) + 'px'); //  Bug IE6, needs 3 pixels more ?*/


Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More