![]() |
How To Center Your Logo (tutorial)
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 { Code:
.logo-image { 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;"> ------------------------------------------------------------------------------------------ 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. |
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> |
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.
|
Quote:
Quote:
Acp-Style and templates-Edit Templates-CSS Templates. |
Word borbole,thanks for jumping in. Really is a drag that <center> died off though.
|
so how to you make it centered now in vB4?
|
Really handy, and IMHO a bit less fiddly tip can be found here:
http://www.vbulletin.com/forum/showt...53-Center-logo |
All times are GMT. The time now is 02:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|