等晓天,2.7.1 下模版首页、分类图片间距怎么调?

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

2.7.1下模版首页、分类图片间距怎么调?
/*--- goods_grid ---*/
.goods_grid{ display:block; overflow:hidden; zoom:1; padding:0 0 0 4px;}
.goods_grid li{ width:140px; float:left; padding:11px 8px 9px;}
.goods_grid .img{border:1px solid #E4E4E4; width:130px; height:130px;}
.goods_grid .img img{width:130px; height:130px;}
.goods_grid .name{text-align:center; height:28px; padding-top:4px; overflow:hidden; line-height:14px; width:130px;}
.goods_grid .price{text-align:center; height:20px; width:130px; line-height:20px; overflow:hidden; }
/*--- goods_grid2 ---*/
.goods_grid2{ display:block; overflow:hidden; zoom:1; padding:0 0 0 4px;}
.goods_grid2 li{ width:140px; float:left; padding:11px 9px 9px;}
.goods_grid2 .img{border:1px solid #E4E4E4; width:130px; height:130px;}
.goods_grid2 .img img {width:130px; height:130px;}
.goods_grid2 .img a{height:130px; height:130px; display:block;}
.goods_grid2 .name{text-align:center; height:25px; overflow:hidden; line-height:25px; font-size:12px; font-weight:bold; width:130px;}
.goods_grid2 .market_price{text-decoration:line-through; color:#000;}
.goods_grid2 .price{text-align:center; font-size:12px; color:#CE2104; width:130px; line-height:20px; overflow:hidden; }

更不找不到:
margin:0px 14px 15px 14px;} 这就是间距
应该是哪个,谢谢。
我设置的是130*130,如果不改动的话,只显示4个商品,最右侧会多出很多空白,难看。
模版名称:concise
版本:2.7.1

回答:
能具体点吗?我新手。谢谢

贴下网址看下