The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to: Auto Center your Header Logo
Greetings,
I've tried to google how you have your logo auto center across your header on the forum. There's a lot of people that have various ways. I do my own and many will have various ways to go about it. Here is the simple version. Open your "Header" template. Look for the last </script> tag in your code and insert after it: Code:
<style> #logo { display: block; margin-left: auto; margin-right: auto } </style> Code:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div> Code:
<a href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}"><img id="logo" src="{vb:stylevar titleimage}"/></a> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|