1788
62
8525
管理员
以 Discuz!7.0 为例:去除Discuz!默认的有无新帖图标打开模板文件 css_common.htm,找到如下代码: 1. .list th { background: url({IMGDIR}/forum.gif) 5px 10px no-repeat; padding-left: 45px !important; } 2. .narrowlist th { vertical-align: top; } 3. .list th.new { background-image: url({IMGDIR}/forum_new.gif); } 复制代码修改为: 1. .list th { background: #FFF; padding-left: 5px !important; } /* 去除无新帖图标,并设置版块图标左边的空白的宽度大小*/ 2. .narrowlist th { vertical-align: top; } 3. .list th.new { background-image: #FFF; } /* 去除有新帖图标*/复制代码
------------------------去掉有无新贴图标------------------------风格目录中的CSS文件,如:templates/default/css_common.htm注:如果现在你用的风格中也有css_common.htm(或者是css_append.htm),同样要修改。搜索下面的代码删除:分两步一,搜索下面的代码,删除: * .list th.new { background-image: url({IMGDIR}/forum_new.gif); }复制代码二,搜索下面的代码,删除: * .list th { background: url({IMGDIR}/forum.gif) 5px 10px no-repeat; padding-left: 45px !important; }复制代码如果觉得去掉之后版块图标距离边界太近,可以将第二步中的删除,修改: * .list th { background: url({IMGDIR}/forum.gif) 5px 10px no-repeat; padding-left: 45px !important; }复制代码修改成 * .list th {padding-left: 5px !important; }复制代码padding-left: 5px 表示版块图标距离左边界5个相素
使用道具 举报
发表回复 回帖后跳转到最后一页
Archiver|手机版|云水网 ( 鲁ICP备09069806号 )
GMT+8, 2025-5-2 23:03 , Processed in 0.069883 second(s), 18 queries .
Powered by Discuz! X2.5
© 2001-2012 Comsenz Inc.