修改ECShop首页缩略图大小的方法
今天自己想把包包批发网首页的缩略图改大点,在ECShop论坛里搜索了一下,都没有找到,就自己在css里找了一下,现在把他分享出来,
在相应模版文件夹下的style.css里,找到
/*单个商品*/
.goodsItem{width:110px; float:left; position:relative; overflow:hidden; margin:0px 14px 15px 14px;}
.goodsItem .goodsimg{width:100px; height:100px; border:4px solid #eef8ff; margin-bottom:4px;}
.goodsItem img{width:52px; height:17px;}
.goodsItem p{text-align:left; color:#3f3f3f;}
.goodsItem p a{color:#3f3f3f; text-decoration:none;}
.goodsItem p a:hover{color:#ff6600; text-decoration:none;}
.goodsItem span{width:40px; height:40px; position:absolute;left:0px; top:0px;}
.goodsItem span.best{background:url(images/bg.gif) no-repeat 0px -304px;}
.goodsItem span.news{background:url(images/bg.gif) no-repeat -75px -304px;}
.goodsItem span.hot{background:url(images/bg.gif) no-repeat -161px -304px;}红色地方是要修改的,改好后,自己再到模版设置中设一下商品的显示数量,
Comments
No Comments
Leave a Reply