标题:
Discuz6.0.0版块横排, 添加版块图标的办法
[打印本页]
作者:
admin
时间:
2008-1-28 05:11
标题:
Discuz6.0.0版块横排, 添加版块图标的办法
打开 discuz.htm
3 N4 K7 Q, }+ p V- u: x( I( D
找:
<th width="$cat[forumcolwidth]"{$forum[folder]}>
复制代码
后面添加:
<a href="forumdisplay.php?fid=$forum[fid]">{$forum[icon]}</a>
复制代码
完毕!
! x& O& ?# A' B* B$ s7 E
7 q% L/ a& J* ]. ]$ S1 B5 b; Q
如果要同时去掉前面有无新帖图标,
, k& M2 T. L, H5 n2 @
打开css.htm,
2 K3 `0 d) W5 l# h
找:
.forumlist th { padding-left: 55px !important; }
.forumlist h2 em { color: {HIGHLIGHTLINK}; }
.forumlist tbody th { background-image: url({IMGDIR}/forum.gif); background-repeat: no-repeat; background-position: 13px 50%; }
.forumlist tbody th.new { background-image: url({IMGDIR}/forum_new.gif); }
复制代码
删除之。
欢迎光临 捌玖网络工作室 (http://89w.org/)
Powered by Discuz! 7.2