http://www.phpbb.com/community/viewtopi ... 205#header
原作者:prototech
1. 增加習慣Header圖像
1)上傳你的圖到styles/prosilver/theme/images/ directory.
2) 打開 styles/prosilver/theme/common.css
Find:
代碼: 選擇全部
.headerbar {
background: #ebebeb none repeat-x 0 0;
color: #FFFFFF;
margin-bottom: 4px;
padding: 0 5px;
After, add:
代碼: 選擇全部
height: 100px ;
變化高度依照你們的圖像.
3) Open styles/prosilver/theme/colours.css
Find:
代碼: 選擇全部
.headerbar {
background-color: #12A3EB;
background-image: url("{T_THEME_PATH}/images/bg_header.gif");
color: #FFFFFF;
更改 bg_header.gif to the name of your image.
4) Open styles/prosilver/template/overall_header.html
Find:
代碼: 選擇全部
<div id="site-description">
代碼: 選擇全部
<div style="height: 90px ;">
Note: The height must be 10px less than the height of your image!
Find:
代碼: 選擇全部
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<!-- ENDIF -->
After, add:
代碼: 選擇全部
</div>
2. 移動系統Logo
Open styles/prosilver/template/overall_header.html
Find, and remove:
代碼: 選擇全部
<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
3. 移動系統名字和描述
Open styles/prosilver/template/overall_header.html
Find, and remove:
代碼: 選擇全部
<h1>{SITENAME}</h1>
<p>{SITE_DESCRIPTION}</p>
4. 移動搜尋盒子
Open styles/prosilver/template/overall_header.html
Find, and remove:
代碼: 選擇全部
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div id="search-box">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<!-- ENDIF -->