The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How do you center banners via the ACP? I've new to this, and I need help.
I don't know where to edit it etc. So, how do I center them? Thanks! :-) |
|
#2
|
||||
|
||||
|
in header template look for
<td align="$stylevar[left]"> and change to <td align="center"> this is for default vbulletin logo |
|
#3
|
|||
|
|||
|
Thanks mate!
Then I get this: href="index.php"> above the banner.. :S |
|
#4
|
||||
|
||||
|
is it default vbulletin style?
code the same as this? Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] |
|
#5
|
|||
|
|||
|
No :S
It's a custom banner, that I made. |
|
#6
|
|||
|
|||
|
Then you will need to copy-n-paste the code you have for your header here.
|
|
#7
|
|||
|
|||
|
Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center"> href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output |
|
#8
|
|||
|
|||
|
Change:
Code:
<td align="center"> href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> Code:
<td align="$stylevar[center]"> href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> |
|
#9
|
|||
|
|||
|
Nope, it doesn't. This time, it goes down to the left, and also still says that thing on the top.
EDIT: FRDS, I done what you said, below his one, it works, but its not in the center. |
|
#10
|
||||
|
||||
|
shouldn't he change it to
Code:
<td align="$stylevar[center]"> <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|