Black Pearl - Overall_header Problem »  Show posts from    to     

Icy Phoenix


phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - Black Pearl - Overall_header Problem



unknown2 [ Tue 09 Mar, 2010 18:14 ]
Post subject: Black Pearl - Overall_header Problem
Hi there people!
im using Black Pearl template on my foruum, but with all modifications i have done in the past eyear, im now with the overall_footer file all messeed up.
Im having troubles in introducing an inamovible bar in the top of the forum.

I want to introduce this in my overall_header:
Code: [Hide] [Select]
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="leftshadow" width="9" valign="top"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="9" height="1" /></td>
<td class="np-body" width="100%" valign="top">

<div id="top_logo">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>

<a href="http://www.forumdiscutivel.com" target="_blank"><img src="http://img34.imageshack.us/img34/6461/bannerpub.png" alt="Forum de Futebol" title= "Fórum Discutível" width='100%' height='100%'></a>

</tr>
</table>
</div>


The problem is that it doesnt appear where it should. It should appear as a Inamovible bar in the top of the forum , and instead the upper part remains everytime in the upper side but when the page opens, the forum logo should be above that bar and not as is background.

Can someone give an eye on my forum (www.forumdiscutivel.com) overall_header and tell me whats up with that?
Notice that the code for the bar is in linked with the code <!-- INCLUDE atalhos/tabela_superior.html -->

Best regards


spydie [ Tue 09 Mar, 2010 19:00 ]
Post subject: Re: Black Pearl - Overall_header Problem
try putting the html code in publicity/adds, position : global top

if you could post the complete code of that facebook add here would be nice, cause there´s something in there, that makes it floating, and we want it static. so it stays in it´s place.


unknown2 [ Tue 09 Mar, 2010 19:12 ]
Post subject: Re: Black Pearl - Overall_header Problem
forget the precious code. Was my mistake to post it. here is the code that i wanted to show:
Code: [Hide] [Select]
<body class="ltr">
<div id="mydiv">

<table style="width:100%;">
<tr align="center">
<td align="center"><b>Site optimizado para 1024x768 @ Mozilla Firefox</b>
<br /><b>Bem-vindo ao Fórum Discutível</b>
</td></tr>
</table>
<table style="width:100%;">

<tr>
<td align="left" width="25%"><a href="javascript:bookmarksite('Fórum Discutível','http://www.forumdiscutivel.com')"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/favoritos.png" title="Adicionar Fórum Discutível aos Favoritos" alt="Forum de Futebol"</img></a></td>
<td align="center" width="50%"><a href="http://www.facebook.com/profile.php?ref=profile&id=100000543131535" onclick="window.open (this.href, 'child'); return false"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/facebook.png" width="32" height="32" alt="Forum de Futebol" title="Fórum Discutível no Facebook" border="2"/></a>
<a href="http://www.youtube.com/user/ForumDiscutivel" onclick="window.open (this.href, 'child'); return false"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/youtube.png" width="32" height="32" alt="Forum de Futebol" title="Fórum Discutível no YouTube" border="2"/></a>
<a href="http://discutivel.hi5.com" onclick="window.open (this.href, 'child'); return false"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/hi5.png" width="32" height="32" alt="Forum de Futebol" title="Fórum Discutível no Hi5" border="2"/></a>
<a href="http://forumdiscutivel.blogspot.com/" onclick="window.open (this.href, 'child'); return false"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/blog.png" width="32" height="32" title="Blog Fórum Discutível" border="2"/></a></td>
<td align="left">
Radio Renascenca <a href="http://www.rr.pt/live/stream_rr_new.asx" onclick="window.open (this.href, 'child'); return false"><img src="http://esoterica.fm/wm_small.png" width="16" height="16" title="Radio Renascenca" border="2"/></a>
<br />

Radio TSF <a href="http://www.tsf.pt/tsfdirecto.asx" onclick="window.open (this.href, 'child'); return false"><img src="http://esoterica.fm/wm_small.png" width="16" height="16" title="Radio TSF" border="2"/></a>
</td>
<td align="right"><a href="mailto:forumdiscutivel@gmail.com?subject=" target="_blank"><img src="http://www.forumdiscutivel.com/styles/black_pearl/imageset/email.png" width="32" height="32" alt="Forum de Futebol" title="Clique para nos enviar um e-mail " border="2"/></a></td>

</tr>
</table>

</div>


Notice that for this issue im using two "includes":
<!-- INCLUDE atalhos/barra2.html --> wich have the previous code
<!-- INCLUDE atalhos/barra1.html --> wich have the following code:

Code: [Hide] [Select]
<style type="text/css">
#mydiv{
position: fixed;
left: 0px;
top: 0px;
width:100%; margin-left:auto; margin-right:auto; text-align:center;
}
</style>


The bar in the upper part remains everytime in the upper side but when the page opens, the forum logo should be above that bar and not as is background


spydie [ Tue 09 Mar, 2010 20:57 ]
Post subject: Re: Black Pearl - Overall_header Problem
And here is your problem:
Code: [Hide] [Select]
<style type="text/css">
#mydiv{
position: fixed;
left: 0px;
top: 0px;
width:100%; margin-left:auto; margin-right:auto; text-align:center;
}
</style>


Position: fixed;

change it to

position: relative;

for example, or don´t use position at all.

the fixed means, that the div stays in top of screen all the time, even if you scroll page down. It all time keeps beeing in the top row of the screen.


unknown2 [ Tue 09 Mar, 2010 23:40 ]
Post subject: Re: Black Pearl - Overall_header Problem
But i want him to be in the top of the page everytime. The issue its that the forum logo should be above that bar and not as is background.

Regards


TheSteffen [ Wed 10 Mar, 2010 10:34 ]
Post subject: Re: Black Pearl - Overall_header Problem
topic moved to phpBB 3 MODS And Styles


unknown2 [ Mon 15 Mar, 2010 09:10 ]
Post subject: Re: Black Pearl - Overall_header Problem
Can someone give me help on this one?




Powered by Icy Phoenix