The Arcive of vBulletin Modifications Site. |
|
Fluid 3 part header Details »»
|
||||||||||||||||||||||||||
Not a difficult thing to do but I thought I would post it any way as some people seem to having trouble with getting their header image to have an align image right as you can't do it in stylevar.
This is fluid all you need to do is make 3 images, I named mine left, right and background (See attachment), you can be more creative ![]() In your header template find Code:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div>
Code:
<div id="headerFill"><div id="headerL"></div><div id="headerR"></div></div> Code:
#headerFill{
background-image: url(images/headerFill.jpg);
background-repeat: repeat-x;
height: 119px;
width: 100%;
margin-right: auto;
margin-left: auto;
}
#headerL{
background-image: url(images/headerL.jpg);
height: 119px;
background-repeat: no-repeat;
width: 348px;
float: left;
}
#headerR {
background-image: url(images/headerR.jpg);
background-repeat: no-repeat;
height: 119px;
width: 332px;
float: right;
}
Thanks to hoof for the CSS update. Mark as installed for support Screenshots
Show Your Support
|
||||||||||||||||||||||||||
| Благодарность от: | ||
| eTiKeT? | ||
| Comments |
|
#2
|
|||
|
|||
|
Tagged as this may allow me to use my jpg's I believe?
|
|
#3
|
|||
|
|||
|
yes you can
|
|
#4
|
|||
|
|||
|
Yes sweet too as I didn;t need the left.jpg as in the code change the jpg to your name.
|
|
#5
|
||||
|
||||
|
Thanks this is exactly what i needed. Marked Installed and rated Excellent
|
|
#6
|
|||
|
|||
|
naaa aaaa aaa aaa aaa aaaiceee
love you man
|
|
#7
|
||||
|
||||
|
Why are you using the Table tag with vBulletin 4.0? This will break strict xHTML compliancy, which is what version 4 is all about.
It should be coded as a div layout, not a table layout. |
|
#8
|
||||
|
||||
|
good modification.thanks.
|
|
#9
|
||||
|
||||
|
Maybe something im doing wrong here, but when i use this, the right image replaces the details in top right of forum
Quote:
|
|
#10
|
|||
|
|||
|
Are you using VB4?
|
![]() |
|
|