怎么把首页精品推荐、新品上市、热卖商品里的图片调大?

2016-07-07 16:25 来源:www.chinab4c.com 作者:ecshop专家

商品图片太小了,而且标价下面还有很多空位,我想把它调大些(不是用放大镜),请问怎么实现?注:我用的是2.6.1的默认模板,商品显示数是默认的4个。我菜鸟一个,麻烦大侠们说详细点,感激不尽!!!

回答:
我想把它调大些

我菜鸟一个

只要修改控制图片大小的CSS即可

只要修改控制图片大小的CSS即可
oioishop 发表于 2009-3-1 19:48


可以詳細解釋一下嗎, 謝謝.

我啊,我也改不对,那个打峡给下代码

在网店后台有个显示设置可以设置.
第二是在FTP的CSS里面调.
演示地址:[url]http://www.wudaoshop.cn
[/url]

你可以加我QQ423339831.帮你调不收费用.

论坛里面原则上不提供代码级的帮助,不过这里趴活的很多哦。。。。。。

CSS里这里不是可以改啊 /*--- goods_grid ---*/
.goods_grid{ display:block; overflow:hidden; zoom:1; padding:0 0 0 4px;}
.goods_grid li{ width:106px; float:left; padding:11px 8px 9px;}
.goods_grid .img{border:1px solid #000000; width:128px; height:128px;}
.goods_grid .img img{width:128px; height:128px;}
.goods_grid .name{text-align:center; height:28px; padding-top:4px; overflow:hidden; line-height:14px; width:128px;}
.goods_grid .price{text-align:center; height:20px; width:128px; line-height:20px; overflow:hidden; }

/*--- goods_grid2 ---*/
.goods_grid2{ display:block; overflow:hidden; zoom:1; padding:0 0 0 4px;}
.goods_grid2 li{ width:165px; float:left; padding:11px 9px 9px;}
.goods_grid2 .img{border:1px solid #E4E4E4; width:158px; height:158px;}
.goods_grid2 .img img {width:158px; height:158px;}
.goods_grid2 .img a{height:158px; height:158px; display:block;}
.goods_grid2 .name{text-align:center; height:25px; overflow:hidden; line-height:25px; font-size:12px; font-weight:bold; width:158px;}
.goods_grid2 .market_price{text-decoration:line-through; color:#000;}
.goods_grid2 .price{text-align:center; font-size:12px; color:#CE2104; width:158px; line-height:20px; overflow:hidden; }

/*--- goods_item ---*/
.goods_item{ display:block; overflow:hidden; zoom:1; padding:0 0 0 4px;}
.goods_item li{ width:99%; display:block; float:left; padding:11px 0 9px; border-bottom:1px #ccc dashed;}
.goods_item .img{border:1px solid #E4E4E4; float:left; width:65px; height:65px;}
.goods_item .img img{height:65px; width:65px;}
.goods_item .name{text-align:center; padding:0 10px; text-align:left; width:290px; height:40px; overflow:hidden; line-height:20px; float:left;}
.goods_item .name a:hover{color:#333;}
.goods_item .name a{font-size:13px; font-weight:bold; color:#FF6600;}
.goods_item .price{text-align:center; float:left; padding-top:8px; text-align:left; color:#CE2104; line-height:20px; overflow:hidden; }
.goods_item .market_price{text-decoration:line-through; color:#000;}
.goods_item .item_cart{float:right; padding-top:25px;}


/*--- goods_text ---*/
.goods_text{ display:block; overflow:hidden; zoom:1; padding:0 0 0 4px;}
.goods_text li{ width:99%; display:block; float:left; padding:11px 0 9px; border-bottom:1px #ccc dashed;}
.goods_text .name{text-align:center; padding:0 10px; text-align:left; width:380px; height:40px; overflow:hidden; line-height:20px; float:left;}
.goods_text .name a:hover{color:#333;}
.goods_text .name a{font-size:13px; font-weight:bold; color:#FF6600;}
.goods_text .price{text-align:center; float:left; padding-top:8px; text-align:left; color:#CE2104; line-height:20px; overflow:hidden; }
.goods_text .market_price{text-decoration:line-through; color:#000;}
.goods_text .item_cart{float:right; padding-top:16px;}