PDA

View Full Version : My main banner messes up the alignment


Delilahs
18 Nov 2009, 21:28
I've asked on vb.com, but had no answers, if people look at my main forum you can see the banner there, but I want it to be centred and the 'welcome' , 'notification' etc links to be lower down, any help would be appreciated on this please.

Seven Skins
19 Nov 2009, 00:34
To align the logo in the center edit header template:

Find:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="Powered by vBulletin" /></a></div>


Replace it with:
<div style="text-align: center"><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="Powered by vBulletin" /></a></div>

And for those notification links ... they would not look good if you move then down ... your best bet is make your header background blurred behind those links.

Eq4bits
23 Nov 2009, 22:19
I put my header image above that <div> in a single cell table. Might not be the vB way to do it but it works for me :D

Trumpetrhapsody
28 Dec 2009, 20:47
Thanks for this!

I spent several hours trying to do it in the css unsuccessfully.