vBulletin Mods

The Official vBulletin Modifications Site

Adjust Width of Banner
by josiespencer
05 Oct 2007 15:52

I recently switched to a new laptop and am using 1280 x 800 resolution for the first time. But now my website banner/logo does not center like it used to do:


How can I make this correct for both narrower screens and wider screen?

valdet 05 Oct 2007 17:40

Go to your header template and add <center>xxx-banner.jpg</center> around your banner code.

Here is an example:


<a href="http://www.yourdomain.com" target="_self"><img src=" http://www.yourdomain.com/images/banner.gif" border="0" alt="My Banner"></a>

josiespencer 07 Oct 2007 22:16

Thank you very much. My header template, however, doesn't really look anything like yours. This is mine:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

valdet 08 Oct 2007 07:34

From the code you provided I would suggest the following change:

<td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
or use the <center>xxx</center> accross the whole code I quoted.


All times are GMT. The time now is 01:58.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.