PDA

View Full Version : How Do I Center My Logo?



Steve Machol
Sat 4th Jun '05, 3:52pm
To center your logo in vB 3.0.x, edit the header template:

Admin CP -> Styles & Templates -> Style Manager -> Common Templates (in the menu) -> header

Remove the red code, and change the alignment (in blue):



<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="center"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp;
<!--
NEW HEADER & NAVBAR

Now that the nav buttons are in the
navbar template, you can stick whatever
you like into this space.

This makes it much easier for novice
admins to customize their header
template without affecting important
navigation elements.
-->
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

Steve Machol
Wed 29th Jun '05, 6:41pm
To center the logo in vB 3.5 go to:
http://www.vbulletin.com/forum/showthread.php?t=156430