The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to get banner in center of page
Like this forum does it, i would like to center my logo...but i cant seem to...
help thanks Blam :nervous: |
#2
|
||||
|
||||
It's a template modification of the navbar template, not a hack.
Go to your admincp and open your stylemanager. Select "Edit Templates" under your default style. Scroll down and find "Navigation and Breadcrumb templates" double click that (in IE). Select navbar. Look for this code Code:
<!-- / nav buttons bar --> <br /> |
#3
|
|||
|
|||
Or you could just replace the content of your header-template with that:
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> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output |
#4
|
||||
|
||||
I wouldn't recommend calling spacer open after the navbar opens unless you have a specific layout in mind for that. I work on a site that does just that.
Anway, the spot where you insert code into that are of the page is right after the navbar body - header contents not withstanding. If you do move the contents of the header into the navbar that way, remember to erase your header!! calling $spacer open TWICE falls under the heading of *not good* as unclosed <div> tags can choke some browsers. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|