The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Center Header Logo
Hi there,
could anyone take a look at this snippet and tell me how to center my banner? :< I've tried all possible combinations and just can't figure it out. Header Template: Code:
<div class="above_body"> <!-- closing tag is in template navbar --> <div id="header" class="floatcontainer doc_header"> <vb:if condition="$stylevar['titleimage']"><div><a name="top" href="hyperlink"><img src="imagelink" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div><vb:else /><div> </div></vb:if> <div id="toplinks" class="toplinks"> <vb:if condition="$show['member']"> <ul class="isuser"> <li><a href="login.php?{vb:raw session.sessionurl}do=logout&logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li> <vb:if condition="$show['registerbutton']"> <li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li> Regards, HSB. |
#2
|
||||
|
||||
hmmmm.. how about using a table and align it to the center ??
HTML Code:
<table align="center"><tr><td> YOUR LOGO CODE HERE </tr></td></table> |
#3
|
||||
|
||||
Thanks a lot Lautaro!~
|
#4
|
|||
|
|||
@lautaro @heartshapedBox : No need to replace any code in header??
just add table huh? |
#5
|
||||
|
||||
yeah, just add the table, no need to remove any code.
|
#6
|
|||
|
|||
I did a quick dive in to the net and found this>
Goes in additional.css Code:
.doc_header {text-align: center; } .logo-image {clear:both; float:none;} |
#7
|
|||
|
|||
@setishock: Yup. I tried and it worked
@Lautaro: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|