View Full Version : [3.6.9] Center Banners
habbishfmforum
04-15-2008, 10:34 AM
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! :-)
ShawneyJ
04-15-2008, 11:00 AM
in header template look for
<td align="$stylevar[left]">
and change to
<td align="center">
this is for default vbulletin logo
habbishfmforum
04-15-2008, 11:08 AM
Thanks mate!
Then I get this: href="index.php"> above the banner.. :S
ShawneyJ
04-15-2008, 11:12 AM
is it default vbulletin style?
code the same as this?
<!-- 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]
habbishfmforum
04-15-2008, 05:42 PM
No :S
It's a custom banner, that I made.
Jase2
04-15-2008, 05:44 PM
Then you will need to copy-n-paste the code you have for your header here.
habbishfmforum
04-15-2008, 05:50 PM
<!-- 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
Jase2
04-15-2008, 07:44 PM
Change:
<td align="center">
href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
To:
<td align="$stylevar[center]">
href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
Let me know how that goes.
SEOvB
04-15-2008, 07:51 PM
shouldn't he change it to
<td align="$stylevar[center]">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
I think you copy and pasted the same thing twice by mistake sir :)
habbishfmforum
04-15-2008, 07:51 PM
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.
SEOvB
04-15-2008, 07:56 PM
use this :D
<td align="center">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
if that doesnt do it, this surely will
<td align="$stylevar[left]"><div align="center">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></div></td>
habbishfmforum
04-15-2008, 08:00 PM
FRDS, *HI5*!
Thanks a million mate! :-)
Much appreciated!
habbishfmforum
05-29-2008, 03:53 PM
Another problem with a 3.7.1! HELP PLEASE
djones44
04-06-2009, 05:01 PM
use this :D
<td align="center">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
if that doesnt do it, this surely will
<td align="$stylevar[left]"><div align="center">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></div></td>
Thanks FRDS; your code was good and much appreciated.
Dwight
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.