vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=159535

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:

http://uber-goober.com/myPictures/UG.png

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:

Quote:

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

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:
Quote:

<tr>
<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.

Cheers,
Val.


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.