- 帖子
- 241
- 积分
- 386
- 体力
- 242 点
- 金币
- 23
- 威望
- 0
|
以图片形式的商品分类树里的商品分类添加的方法:
先到后台商品分类-添加分类,确定后回到刚刚添加的这个分类里,比如添加了包包,用鼠标点击这个包包,右键先择“复制快捷方式”(主要是看生成的id=数值);再到ftp空间里wwwroot/themes/lativ/images/把包包这个分类的图片放进去,再到wwwroot/themes/lativ/找到程序style.css里找到商品分类这段代码:
#fl6 A{ display:block; width:150px; height:30px;
text-decoration: none;
background:url(images/手表.jpg) no-repeat top right;
}
#fl6 A:hover{
background:url(images/shoubiao.jpg) no-repeat top right;
text-decoration: none;
以此类推添加新的商品分类,
接着到/wwwroot/themes/lativ/library/ category_tree.lbi里找到这段代码:
<p id="fl6"><A href="category.php?id=14">  </A></p>
以此类推添加相应的新商品分类(这里的id=?,这个数值就是之前在后台添加商品分类里自动生成的id值。)
|
|