Are you sure you refreshed the theme and template (ACP => Styles => Style Components => Theme/Template)?seasalt dreams wrote:I followed all instructions to mod the header image, purged caches etc etc, and nothing. Board still appears the same. I only have prosilver installed.
Replace the following with your code.crag364 wrote:Hi all,
I was wondering if you can help me. I have made a custom header for my forum using split images and tables for the links. How is it possible to get this on my page? ...
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 style="display: none;"><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>
Knowledge Base - Adding a Random Header Image.. you might have to modify a few things in order to get it to work with the header image instead of the logo. If you need any help, feel free to reply here.SirClive wrote:... One addition I would love to see is to allow me to upload multiple images and for the board to randomly pick one.
Any chance that this is possible?
I think I'll stick ith one then, I wouldn't know where to startprototech wrote:Knowledge Base - Adding a Random Header Image.. you might have to modify a few things in order to get it to work with the header image instead of the logo. If you need any help, feel free to reply here.SirClive wrote:... One addition I would love to see is to allow me to upload multiple images and for the board to randomly pick one.
Any chance that this is possible?
Code: Select all
</head>
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<div id="wrap">
<a id="top" name="top" accesskey="t"></a>
<div id="page-header">
<table align="center" id="Table_01" width="875" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img id="uwcs_banner_01" src="http://www.underwaterclipsource.net/images/uwcs-banner_01.jpg" width="875" height="144" alt="" /></td>
</tr>
<tr>
<td rowspan="6"><img id="uwcs_banner_02" src="http://www.underwaterclipsource.net/images/uwcs-banner_02.jpg" width="713" height="181" alt="" /></td>
<td><a href="/"><img id="HOME" src="http://www.underwaterclipsource.net/images/HOME.jpg" width="130" height="30" border="0" alt="Home" /></a></td>
<td rowspan="6"><img id="uwcs_banner_04" src="http://www.underwaterclipsource.net/images/uwcs-banner_04.jpg" width="32" height="181" alt="" /></td>
</tr>
<tr>
<td><a href="/forum/"><img id="FORUM" src="http://www.underwaterclipsource.net/images/FORUM.jpg" width="130" height="30" border="0" alt="Forum" /></a></td>
</tr>
<tr>
<td><a href="/filebox/"><img id="FILEBOX" src="http://www.underwaterclipsource.net/images/FILEBOX.jpg" width="130" height="29" border="0" alt="Filebox" /></a></td>
</tr>
<tr>
<td><a href="/chat/"><img id="CHAT" src="http://www.underwaterclipsource.net/images/CHAT.jpg" width="130" height="30" border="0" alt="Chat" /></a></td>
</tr>
<tr>
<td><a href="#"><img id="DONATE" src="http://www.underwaterclipsource.net/images/DONATE.jpg" width="130" height="30" border="0" alt="Donate" /></a></td>
</tr>
<tr>
<td><img id="uwcs_banner_09" src="http://www.underwaterclipsource.net/images/uwcs-banner_09.jpg" width="130" height="32" alt="" /></td>
</tr>
</table>
Try this.. open overall_header.htmlcrag364 wrote:Thanks for your speedy reply. After changing that code it kind of works except it needs some alterations. For some reason it gets messed up in the forum. (See screenshot below)
Code: Select all
<table align="center" id="Table_01" width="875" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img id="uwcs_banner_01" src="http://www.underwaterclipsource.net/images/uwcs-banner_01.jpg" width="875" height="144" alt="" /></td>
</tr>
<tr>
<td rowspan="6"><img id="uwcs_banner_02" src="http://www.underwaterclipsource.net/images/uwcs-banner_02.jpg" width="713" height="181" alt="" /></td>
<td><a href="/"><img id="HOME" src="http://www.underwaterclipsource.net/images/HOME.jpg" width="130" height="30" border="0" alt="Home" /></a></td>
<td rowspan="6"><img id="uwcs_banner_04" src="http://www.underwaterclipsource.net/images/uwcs-banner_04.jpg" width="32" height="181" alt="" /></td>
</tr>
<tr>
<td><a href="/forum/"><img id="FORUM" src="http://www.underwaterclipsource.net/images/FORUM.jpg" width="130" height="30" border="0" alt="Forum" /></a></td>
</tr>
<tr>
<td><a href="/filebox/"><img id="FILEBOX" src="http://www.underwaterclipsource.net/images/FILEBOX.jpg" width="130" height="29" border="0" alt="Filebox" /></a></td>
</tr>
<tr>
<td><a href="/chat/"><img id="CHAT" src="http://www.underwaterclipsource.net/images/CHAT.jpg" width="130" height="30" border="0" alt="Chat" /></a></td>
</tr>
<tr>
<td><a href="#"><img id="DONATE" src="http://www.underwaterclipsource.net/images/DONATE.jpg" width="130" height="30" border="0" alt="Donate" /></a></td>
</tr>
<tr>
<td><img id="uwcs_banner_09" src="http://www.underwaterclipsource.net/images/uwcs-banner_09.jpg" width="130" height="32" alt="" /></td>
</tr>
</table>
Code: Select all
<div class="header">
<ul>
<li><a class="header" href="/">Home</a></li>
<li><a class="header" href="/forum/">Forum</a></li>
<li><a class="header" href="/filebox/">Filebox</a></li>
<li><a class="header" href="/chat/">Chat</a></li>
<li><a class="header" href="#">Donate</a></li>
</ul>
</div>
Code: Select all
.headerbar {
background-color: #12A3EB;
background-image: url("{T_THEME_PATH}/images/bg_header.gif");
color: #FFFFFF;
}
Code: Select all
div.header {
background: url("{T_THEME_PATH}/images/uwcs-banner.jpg") no-repeat;
width: 147px;
height: 178px;
padding: 130px 0 0 710px;
margin: auto;
}
div.header ul {
list-style-type: none;
}
a.header {
width: 130px;
height: 30px;
display: block;
text-indent: -1000px;
}
Change href="{U_INDEX}" to something similar to href="http://www.yoursite.com/"SirClive wrote:How would I change that to allow me to set the url for where it links to so I link out fgrom the forum?
Code: Select all
.headerbar {
background-color: #12A3EB;
background-image: url("{T_THEME_PATH}/images/bg_header.gif");
color: #FFFFFF;
}
In overall_header.html findcrag364 wrote: I now still have the blue header in the background. (It was blue but I added the white colour code which turned it grey) I suspect its to do with: ...
Code: Select all
<div class="headerbar">
Code: Select all
<div>
Code: Select all
.headerbar {
background-color: #12A3EB;
background-image: url("{T_THEME_PATH}/images/bg_header.gif");
color: #FFFFFF;
}
Open overall_header.html and find:guyskankrye wrote:How do you add a “Search” icon and link beside “FAQs”, “Members”, etc?
Code: Select all
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
Code: Select all
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH --><li class="icon-search"><a href="{U_SEARCH}" title="{L_SEARCH}">{L_SEARCH}</a></li><!-- ENDIF -->
Code: Select all
.icon-faq,
Code: Select all
.icon-search,
Code: Select all
.icon-faq { background-image: url("{T_THEME_PATH}/images/icon_faq.gif"); }
Code: Select all
.icon-search { background-image: url("{T_THEME_PATH}/images/icon_textbox_search.gif"); }
Code: Select all
<div style="height: 140px ;">
<div id="site-description">
<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
</div>
Code: Select all
<div style="height: 140px;">
<div id="site-description">
<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
</div>
</div>
Any clue as to what would have to change. I've removed the logo and site discription so all I have is an image in the header. Would this Random Header mod work for that?prototech wrote:Knowledge Base - Adding a Random Header Image.. you might have to modify a few things in order to get it to work with the header image instead of the logo. If you need any help, feel free to reply here.SirClive wrote:... One addition I would love to see is to allow me to upload multiple images and for the board to randomly pick one.
Any chance that this is possible?