Announcement

Collapse
No announcement yet.

How Do I Center My Logo?

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

  • How Do I Center My Logo?

    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):

    Code:
    <!-- 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, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.



  • #2
    To center the logo in vB 3.5 go to:
    http://www.vbulletin.com/forum/showthread.php?t=156430
    Last edited by Floris; Thu 29 Sep '05, 7:31pm.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

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