欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

首页商品缩略图大小的修改方法

shiping1 的头像
今天自己想把首页缩略图改大点,在论坛搜索了一下,都没有找到,就自己在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;}

红色地方是要修改的,改好后,自己再到模版设置中设一下商品的显示数量
这是我的站http://www.sx95.com

来自 http://bbs.ecshop.com/thread-70295-1-1.html
普通分类: