获得本站免费赞助空间请点这里
返回列表 发帖

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

打开 discuz.htm
( e; ?5 ]& W7 U! C% J6 C找:
  1. <th width="$cat[forumcolwidth]"{$forum[folder]}>
复制代码
后面添加:
  1. <a href="forumdisplay.php?fid=$forum[fid]">{$forum[icon]}</a>
复制代码
完毕!
* H8 x; a' I+ T( r% D
) T) C; m! b& `- ^: d) w9 B3 T+ M如果要同时去掉前面有无新帖图标,
" b2 ^/ S+ M$ H& ^* H4 R4 j打开css.htm,
1 N0 A2 k" a2 e! j: C" Q# Z找:
  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); }
复制代码
删除之。

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