繁體
|
簡體
Sclub交友聊天~加入聊天室當版主
(檢舉)
分享
新浪微博
QQ空间
人人网
腾讯微博
Facebook
Google+
Plurk
Twitter
Line
成為SCLUB使用者論壇會員
登錄
論壇首頁
搜索
應用程序
幫助
導航
私人消息 (0)
公共消息 (0)
論壇任務 (0)
系統消息 (0)
好友消息 (0)
帖子消息 (0)
應用通知 (0)
應用邀請 (0)
SCLUB免費論壇申請-使用者論壇
»
Discuz--版型設置
» 今日发帖美化教程
返回列表
發帖
發短消息
加為好友
哥哥
(此用户名已经被删除)
當前離線
OOCN
UID
41044
帖子
758
精華
0
閱讀權限
100
在線時間
347 小時
註冊時間
2012-12-10
版主
積分
2491
威望
2491
金錢
2110
最後登錄
2020-7-18
1
#
跳轉到
»
倒序看帖
打印
字體大小:
t
T
哥哥
發表於 2017-6-21 16:33
|
顯示全部帖子
[版型教學]
今日发帖美化教程
2017-6-21 16:29
打开:一:打开css_common.htm
找到:
.list th { background: url({IMGDIR}/forum.gif) 5px 10px no-repeat; padding-left: 45px !important; }
.list th.new { background-image: url({IMGDIR}/forum_new.gif); }
複製代碼
把这两项删除
然后在css_common.htm最底部添加以下代码:
.todaynew { width:58px; height:55px; float:left; background:url(图标{IMGDIR}/digg.gif) no-repeat center top; margin:5px; text-align:center; color:#f60; font-weight:bold; font-size:12px; line-height:23px; font-family: Georgia, "Times New Roman", Times, serif; }
.todaynew p { display:block; font-weight:100; margin:0px; padding:0px; border:0px; color:#858D92;}
.today { width:58px; height:55px; float:left; background:url(图标{IMGDIR}/digg_blue.gif) no-repeat center top; margin:5px; text-align:center; color:#217AB3; font-weight:bold; font-size:12px; line-height:23px; font-family: Georgia, "Times New Roman", Times, serif; }
.today p { display:block; font-weight:100; margin:0px; padding:0px; border:0px; color:#858D92; font-size:11px; }
複製代碼
二:打开:disucz.htm
查找: (注意:由于代码片段较长,查找可能显示查找不到,可以直接查找:代码片段 <h2> 文件discuz.htm中有两处<h2> 对应的就是下面的两段)
<h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if} style="{if $forum[extra][namecolor]}color: {$forum[extra][namecolor]};{/if}">$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>
複製代碼
<h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if} style="{if $forum[extra][namecolor]}color: {$forum[extra][namecolor]};{/if}">$forum[name]</a><!--{if $forum[todayposts]}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>
複製代碼
把这两段代码(就是把原来的整个<h2> </h2>里面的内容)全部替换成:
本帖隱藏的內容需要回復才可以瀏覽
原帖:
http://oocn.258club.com/thread-5437-1-1.html
2
評分人數
我很贊同
威望 + 8
金錢 + 8
4rphotoclub
謝謝分享
威望 + 8
金錢 + 8
繽紛色彩
收藏
分享
SCLUB/Discuz 7.2!代码美化中心
返回列表
[收藏此主題]
[關注此主題的新回復]
[通過 QQ、MSN 分享給朋友]