The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to add a custom header
I have (almost) successfully added a custom header div (235px high) which replaces the vBulletin logo. (see image 1 attached)
My problem is that it is screwed up in ie7, in that the toplinks go beneath the header instead of staying at the top as with all other borrowers. (see image 2) I can fix this by repositioning them, but there still a large area around the navbar that shouldn't be there( image 3) I did this by trial and error, so hopefully somebody can tell me what I've done wrong. Here is the code I am using: Code:
<div class="above_body"> <!-- closing tag is in template navbar --><div id="header" class="floatcontainer doc_header"> <!--CUSTOM HEADER ADDED--><div style="height:235px; background-image: url(x-header/test-header.jpg); "></div><!--/CUSTOM--> <!--VBULLETIN LOGO COMMENTED OUT <vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div></vb:if> --><!--/VBULLETIN LOGO COMMENTED OUT--> reposition toplinks for ie7: Code:
<div id="toplinks" class="toplinks" style="position:relative; top:-235px;"> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|