wnjmall 发表于 2016-4-18 10:23:59

怎么加入海报

怎么在这个位置加入我们要的海报图。在哪个文件中修改?

老张 发表于 2016-4-19 10:16:32

分类中的顶部可以修改Core/Index/View/default/Category/index.php中 添加

<a rel="nofollow" style=" display:block; height:100px; width:100%; background:url(写图片地址) center center no-repeat rgb(254, 2, 1);" href="写跳转网址" target="_blank"></a>

添加到如图:




填写网址后的样式:

<a rel="nofollow" style=" display:block; height:100px; width:100%; background:url(http://image4.suning.cn/uimg/cms/img/146070512067224674.jpg) center center no-repeat rgb(254, 2, 1);" href="http://index.bulejie.com" target="_blank"></a>


修改文件前,请备份相关文件(就是修改哪一个你就备份下那一个)。
页: [1]
查看完整版本: 怎么加入海报