本帖最后由 hawkn 于 2010-2-24 17:28 编辑
偶尔在论坛上看到有些朋友询问如何去 论坛热点的文字 及其改变标题颜色的话题!
顺便就把制作过程分享一下 无任何技术含量。需要的朋友帮顶下哦!
演示地址:http://www.0512lv.com/bbs.php
截图:
@@@@@@@@@@@第一步:找到/templates/default/css_script.htm 文件!
--------------------------------------------------
搜索: /*热点*/
把/*热点*/
到
[CURSCRIPT = index,forumdisplay,tag]
/* TAG 标签云 */
之间的内容
替换成如下:- /*热点*/
- #hot { margin-bottom: 10px;border: 1px solid #cad9ea; }
- #hot h3 { margin-bottom: 10px; font-size: 14px; color: {LIGHTTEXT}; }
- #hot .desc { color: {MIDTEXT}; }
- #hot .desc a { color: {HIGHLIGHTLINK}; }
- #hot .cite, #hot cite, #hot cite a { color: {LIGHTTEXT}; }
- /* #hot dt, #hot li { background: url({IMGDIR}/dot_d.gif) no-repeat 0 50%;position: relative; }*/
- #hot dt { background: url({IMGDIR}/dot_d.gif) no-repeat 0 50%;position: relative; }
- /*自定义li*/
- #hot li { background: url({IMGDIR}/dot_e.gif) no-repeat 0 50%;position: relative; }
- /*li结束*/
- #hot_img { float: left;padding-top:5px;padding-left: 5px; padding-right: 10px; width: 200px; border-right: 1px solid #C4C7FF; }
- #hot_img img { margin-bottom: 1em; padding: 2px; width: 200px; height: 150px; border: 1px dashed #C4C7FF; }
- #hot_img h2 { position: relative;}
- #hot_img h2 a {color: #CC0000;}
- #hot_img .desc { padding: 5px 0; }
- .img #hot_main { float: right; margin-left: -230px; width: 100%; }
- .img dl, .img ul { margin-left: 230px; }
- #hot dt strong { margin-right: 1em;font-size:18px;padding-left:25px; }
- #hot dt strong a { color: #FF6600;}
- #hot dl { border-top: 0px dashed #C4C7FF; }
- #hot dt, #hot dd { padding-left: 10px; }
- #hot dt { padding-top: 8px; background-position: 0 15px; }
- #hot dd { padding-bottom: 8px; border-bottom: 1px dashed #C4C7FF; color: {MIDTEXT}; }
- #hot ul { padding: 6px 0; border-bottom: 0px dashed #C4C7FF; }
- #hot li { float: left; width: 31%;padding-left:15px; line-height: 22px; height: 22px; text-indent: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
- #hot .deloption { position: absolute; right: 0; margin: 0; border: 3px solid {WRAPBG}; background-color: {WRAPBG}; }
- [/CURSCRIPT]
复制代码 =================================================
@@@@@@@@@第二步:上传images文件夹 (此文件夹是文章前缀的小图片)
===================
第三部:找到/templates/default/下的templates.lang.php文件
用记事本打开搜索:论坛热点 然后删除着四个字。
====================================================
第四部:更新缓存! 看惊喜吧嘎嘎....
穷的要死有钱的兄弟送两个金币。
免费的下载链接:http://www.0512lv.com/thread-10178-1-1.html |