How Do I Center My Logo?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    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="[COLOR=blue]center[/COLOR]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    	[COLOR=red]<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>[/COLOR]
    </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.


  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    To center the logo in vB 3.5 go to:
    [HowTo] [3.5.0] Center Logo This template modification will guide you through the steps with clear instructions and visual examples on how to center the logo of your vBulletin forum version 3.5.0. Original thread by Steve Machol for vBulletin forum software version 3.0.x: http://www.vbulletin.com/forum/showthread

    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...