The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to make Top Banner clickable?
What do I need to edit and put in to make my top banner clickable for example back to the main page?
I've looked in "header" and the coding doesn't exactly display the image name of the banner image I used/uploaded to the forums. |
#2
|
||||
|
||||
You do something like this:
HTML Code:
<a href="linktosite.php"><img src="banner.jpg" /></a> |
#3
|
|||
|
|||
ok but which template does it go in and what part of the template?
|
#4
|
||||
|
||||
I believe the banner is usually in the "header" template. You can post the code here and we can help you with it.
You could also go to: vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. |
#5
|
|||
|
|||
Here is the header template that I'm using..
PHP Code:
|
#6
|
||||
|
||||
It looks like you have navbar stuff in there also. I think this is the banner part, so add the <a> tags as suggested:
HTML Code:
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td width="469" height="137" align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/tren_z_header_top_ls.jpg" width="469" height="137" alt="" /></a></td> <td width="100%" height="137" align="left" valign="top" style="background-image: url($stylevar[imgdir_misc]/tren_z_header_top_back.jpg)"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/tren_z_header_top_back.jpg" width="100%" height="137" alt="" /></a></td> <td width="40" height="137" align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/tren_z_header_rs.jpg" width="40" height="137" alt="" /></a></td> </tr> </table> |
#7
|
|||
|
|||
something doesn't look the same?
Your suggesting I copy and paste that in the template? If so where in the template? I guess I'm not following since none of that appears the same as in the template that I posted above. |
#8
|
|||
|
|||
Thats because she didnt repost your entire template, compare what she did to your current template, if you cant visually see the difference, get something like beyond compare or araxis merge for file comparison.
|
#9
|
|||
|
|||
Well the banner is named something else as in this template has it in a few different parts...that made it difficult to re do it in the first place through photo shop.
|
#10
|
||||
|
||||
All I did was put links around the images in the table that is just a few lines from the top of your code. But, like I said, it's hard to tell without seeing the site, but it looked to me like that was the banner section.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|