Announcement

Collapse
No announcement yet.

Centering header

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Centering header

    Noob question, How do I center the vbulletin header that's displayed at the very top?

  • #2
    In order to center the logo, you need to edit the Header Template:

    AdminCP > Styles & Templates > Style Manager > Common Templates (from drop menu next to style name)

    The first portion of the Header Template is what you need to edit.

    Find this:

    HTML Code:
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
        <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>
    </tr>
    </table>
    <!-- /logo -->

    And replace it with this:
    HTML Code:
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><center><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></center></a></td>
    </tr>
    </table>
    <!-- /logo -->

    Comment


    • #3
      Thank you very much! How about installing a Thank you hack up in here..

      Yep, I'm addicted to vbulletin.. haha

      Comment


      • #4
        We try to show off vBulletin here on the site as a 'out of the box' and without third party code. So I doubt a thank you plugin will be installed

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X