View Full Version : Help me in Adding Banner on the Header!
sdfaheem
09-06-2008, 06:09 PM
I am presently using the Kirsch theme (https://vborg.vbsupport.ru/showthread.php?t=172978) in my forum www.webmasters.bz
How do i add a 468*60 banner in the header? I want to add the banner manually, don't wanna use any mods.
The header seems to use 2 images, one with the logo and another is plain.
Any help would be much appreciated!
Thank you in advance!
DieselMinded
09-06-2008, 06:15 PM
Put your code in the header advertisement template
sdfaheem
09-06-2008, 06:19 PM
Put your code in the header advertisement template
I am confused what and which code to apply.
Could you please help me after seeing the header file below:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" width="100%">
<tr>
<td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="right" width="100%"><img src="images/kirsch/misc/banner_02.jpg" height="152" width="100%" border="0" /></td>
<td align="$stylevar[right]"><if condition="$ad_headerLogo">$ad_headerLogo<else /> </if>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
DieselMinded
09-06-2008, 06:26 PM
Not in the header templete , Add your banner code to the header advertisement template
What version of VB are you using?
sdfaheem
09-06-2008, 06:34 PM
Not in the header templete , Add your banner code to the header advertisement template
What version of VB are you using?
ver 3.7.2
I tried adding the image code in ad_header_logo template but it didn't work.
The code i added is:
<a href="http://imageshack.us"><img src="http://img160.imageshack.us/img160/6208/webmasters4.gif" border="0" alt="Image Hosted by ImageShack.us"/></a>
Spank
09-06-2008, 06:48 PM
what happens when you replace the following code in the header template with your own
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
sdfaheem
09-06-2008, 06:54 PM
what happens when you replace the following code in the header template with your own
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
That's replacing the left side image with logo.
Spank
09-06-2008, 07:00 PM
remove
<td align="right" width="100%"><img src="images/kirsch/misc/banner_02.jpg" height="152" width="100%" border="0" /></td>
sdfaheem
09-06-2008, 07:02 PM
remove
<td align="right" width="100%"><img src="images/kirsch/misc/banner_02.jpg" height="152" width="100%" border="0" /></td>
Removing the above code will also remove the right side image completely. I want the banner to come on top of this image.
Spank
09-06-2008, 07:07 PM
Oh sorry ^_^
before:
<tr>
<td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
add:
<tr><td><a href="http://imageshack.us"><img src="http://img160.imageshack.us/img160/6208/webmasters4.gif" border="0" alt="Image Hosted by ImageShack.us"/></a></td></tr>
sdfaheem
09-06-2008, 07:11 PM
Oh sorry ^_^
before:
<tr>
<td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
add:
<tr><td><a href="http://imageshack.us"><img src="http://img160.imageshack.us/img160/6208/webmasters4.gif" border="0" alt="Image Hosted by ImageShack.us"/></a></td></tr>
The banner is going above the header Mark!
Spank
09-06-2008, 07:13 PM
Where do you want it?
sdfaheem
09-06-2008, 07:18 PM
Where do you want it?
i want the 468*60 banner to sit on this image [right side header image]:
http://www.webmasters.bz/images/kirsch/misc/banner_02.jpg
--------------- Added 1220738665 at 1220738665 ---------------
Thanks for the wonderful help Mark.
You have got it right!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.