Floris
11-23-2004, 10:00 PM
[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]">
<!--
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>
* 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.
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]">
<!--
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>
* 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.