View Full Version : [HowTo] [3.0.3] Center your logo in the header


Floris
24th November 2004, 10:21 AM
[HowTo] [3.0.3] Center your logo in the header

Description: This small template modification will show you how to modify the default header template to get your logo or banner centered in the header on top of your forum.

Installation Instructions:

* Go to the Admin Control Panel and login as an Administrator with permission to modify the styles & templates.

* Go to the (and expand if collapsed) the group "Styles & Templates"

* Click on "Style Manager"

* From the page on the right that loads click on the [<< >>] button behind the style you want to modify to expand the group and show all the templates.

* Select the "header" template and click on the [Customize] button to open it.

* Find this code:<td align="$stylevar[left]"><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 &amp; 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>

* And replace it with this code:<td align="center"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

* Save the "header" template and you are done.

HiDeo
24th November 2004, 06:38 PM
Thanks for this tip ;)

tokebuzz
7th December 2004, 01:02 PM
Already knew this but ... why does vbulletin default template include two cells? ie why is there a right aligned cell that has nothing in it?

Apoco
7th December 2004, 05:43 PM
Already knew this but ... why does vbulletin default template include two cells? ie why is there a right aligned cell that has nothing in it?Because in vB2, that is where the navagation buttons originally were if I remember correctly. For some of the older designers they may use them there. Also that is where vBcom reports version number on www.vbulletin.com (http://www.vbulletin.com)

Zachery
7th December 2004, 09:46 PM
I released a replacement template for this ages ago

teamrocketman
14th December 2004, 03:29 AM
Does anyone have any screenshots?