The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I've seen a few people asking this so I'm going to lay out how I did mine:
--------------------------------------------------------------------------------------- 1. Go into vbulletin-chrome.css and find: Code:
.logo-image { float: {vb:stylevar left}; } Code:
.logo-image { text-align: center; } Then,go to the header template and find: Code:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div> Code:
<div style="float: left; width: 825px;"> <div style="width: 300px; margin-left: auto; margin-right: auto;"><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div></div> ------------------------------------------------------------------------------------------ There is probably an easier way to do this with a little less code,but it works.I will update as better code is posted. |
#2
|
|||
|
|||
![]()
I was trying to figure out how to do this for a while and wound up taking the div's out of your code in the header template and just wrapping center tags around the rest..
Code:
<center><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></center> |
#3
|
|||
|
|||
![]()
I would like to center mine, but I'm not sure where the vbulletin-chrome.css file is located. Any help would be greatly appreciated. Thanks.
|
#4
|
||||
|
||||
![]() Quote:
Quote:
Acp-Style and templates-Edit Templates-CSS Templates. |
#5
|
||||
|
||||
![]()
Word borbole,thanks for jumping in. Really is a drag that <center> died off though.
|
#6
|
|||
|
|||
![]()
so how to you make it centered now in vB4?
|
#7
|
||||
|
||||
![]()
Really handy, and IMHO a bit less fiddly tip can be found here:
http://www.vbulletin.com/forum/showt...53-Center-logo |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|