WordPress Chinese Forums's Archiver

woosee 发表于 2008-8-25 13:36

[quote]原帖由 [i]bobe[/i] 于 2008-8-8 13:46 发表 [url=redirect.php?goto=findpost&pid=98849&ptid=18086][img]images/common/back.gif[/img][/url]
刚开始研究word press,在aoyun开幕之际,做了一个主题。请访问[url=www.ibobe.com.cn]www.ibobe.com.cn[/url] ,分辨率建议大于1024下访问,由于还有一些插件没有做好,暂不提供下载。喜欢的朋友我会在后面完善后提供下载。论坛首贴,请大家砸砖 ... [/quote]

楼主,你的那个网站看了一下,挺好。
请教一下:你的网站的标题怎么没有显示文字出来,而是采用了背景图片来替代了?
怎么做到的?style.css里面需要怎么设置?

[[i] 本帖最后由 woosee 于 2008-8-25 13:39 编辑 [/i]]

bobe 发表于 2008-8-27 13:50

回楼上

请修改style.css文件里面的
[code]
#header h1#logo-text a {
position: absolute;
margin: 0; padding: 0;
font: normal 58px  "Trebuchet MS", Arial, Helvetica, sans-serif;
letter-spacing: -1.5px;
color: #fff;
text-decoration: none;
/*text-indent:-9999px;*/

/* change the values of top and left to adjust the position of the logo*/
top: 80px; left: 10px;
}
[/code]

去掉 [color=red]/*text-indent:-9999px;*/[/color]的注释就行了 ,即改为[color=red]text-indent:-9999px;[/color]
[color=#ff0000][/color]
[color=#ff0000][/color]
[color=black]同样再修改里面的[/color]
[code]
#header p#intro {
position: absolute;
padding: 0; margin-top:-5px;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-weight: normal;
font-size: 18px;
line-height: 1.6em;
font-style: italic;
text-transform: none;
color: #CCCCCC;
width: 400px;
/*text-indent:-9999px;*/
/* change the values of top and left to adjust the position */
top: 145px;
left: 15px;
}
[/code]

希望你能看明白。

页: 1 [2]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.