返回列表 发帖

Discuz6.0.0版块横排, 添加版块图标的办法

打开 discuz.htm. ?9 F- B8 o) d  ~* Q0 V
找:
  1. <th width="$cat[forumcolwidth]"{$forum[folder]}>
复制代码
后面添加:
  1. <a href="forumdisplay.php?fid=$forum[fid]">{$forum[icon]}</a>
复制代码
完毕!& j5 J3 M& ~) d$ t, k4 z
1 C8 P5 n8 S; n9 C( i5 U  c. n8 i
如果要同时去掉前面有无新帖图标,# l% R4 D9 ^, M
打开css.htm,
: v- S; I7 r4 {找:
  1. .forumlist th { padding-left: 55px !important; }
  2. .forumlist h2 em { color: {HIGHLIGHTLINK}; }
  3. .forumlist tbody th { background-image: url({IMGDIR}/forum.gif); background-repeat: no-repeat; background-position: 13px 50%; }
  4. .forumlist tbody th.new { background-image: url({IMGDIR}/forum_new.gif); }
复制代码
删除之。

返回列表
【捌玖网络】已经运行: