Code: Select all
margin-left: auto;
margin-right: auto;
common.css
and find:
Code: Select all
.headerbar
Code: Select all
margin-left: auto;
margin-right: auto;
common.css
and find:
Code: Select all
.headerbar
Doesn't work, i did it before and now, but nothingSinom wrote:You can center the headerbar by adding:OpenCode: Select all
margin-left: auto; margin-right: auto;
common.css
and find:HugsCode: Select all
.headerbar
Sinom wrote:How are you editing your style?
I would recommend the following:
*Download a good text editing program - Such as Notepad++*Hugs
- Log in to your server using your FTP-client. Find and download the file you need to edit.
- Save a backup, make the changes you're going to do, and then save your file.
- Re-upload the file to your server, and then head into your forum.
- Log in to the ACP and head to ACP >> Styles > Choose Templates/Themes/Imagesets for your style and click Refresh!
- When you're done, you will have cleared the cache and will be able to see the changes you've done the next time you go to the board and hit F5.
\styles\prosilver\template
and open overall_header.html
Code: Select all
<div class="headerbar">
<div class="inner"><span class="corners-top"><span></span></span>
<div id="site-description">
<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
<h1>{SITENAME}</h1>
<p>{SITE_DESCRIPTION}</p>
<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
</div>
<!-- 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 -->
<span class="corners-bottom"><span></span></span></div>
</div>
headerbar
div.<div id="wrap">
\styles\prosilver\theme
and open common.css
Code: Select all
#wrap {
padding: 0 20px;
min-width: 650px;
}
Code: Select all
#wrap {
padding: 0 20px;
min-width: 650px;
width: 1100px;
margin-left: auto;
margin-right: auto;
}
Looks like you have deleted the content while making some changes before. as phpBB is cached based so the changes are not reflected until the cache is update.Karen Eidson wrote:I am in the process of modifying the header in my new forum. However, when I get to step #4, 1) Open styles/prosilver/template/overall_header.html, I open the file named and it is blank. Nothing is in there to change. What do I do now?
your site_logo image is controlled by imageset.You will need to make the change in imageset/imageset.cfgixtril wrote: I'd like to know how can i change the size of logo, because when I put a picture as logo, the picture became small.
img_site_logo = site_logo.gif*52*139
52 is height and 139 is the width.there is no prosilver2 there is a subsilver2 and no, the prosilver methods do not apply because the code is completely different.Unifier wrote:I have read through this thread and did not find a reference to prosilver2. Does that mean the techniques provided here for customizing the header, will also apply to prosilver2?