The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Swap Header and navbar?
Hi there i was wandering how do you swap navbar and header?
Like navbar to be on top of the header and header below navbar? thank you. |
#2
|
||||
|
||||
The main page templates (FORUMHOME, SHOWTHREAD, FORUMDISPLAY, etc.) all have this in the template:
HTML Code:
{vb:raw header} {vb:raw navbar} HTML Code:
<div class="above_body"> <!-- closing tag is in template navbar --> HTML Code:
</div><!-- closing div for above_body --> Alternately, you may want to try to play with the css. Add "top: -100px" to position the navbar and then add "top: 100px" to position the header. That may work out and be easier. |
Благодарность от: | ||
CAG CheechDogg |
#3
|
|||
|
|||
Quote:
Thank you! Christos |
#4
|
||||
|
||||
Just do it to the id tags like this:
#navbar {top: -100px;} #header {top: 100px;} You may need to change 100 to a different number depending on your design. And yes, I always add stuff to the additional.css template. |
Благодарность от: | ||
Christos Teriakis |
#5
|
|||
|
|||
Miracle!! .... Miracle !!
http://www.adminexpo.com/forum.php Maybe any idea for this 3 years old post? It has better design. https://vborg.vbsupport.ru/showthread.php?t=252971 PS: By the chance... For default style the best values are: Code:
#navbar {top: -50px;} #header {top: 60px;} |
#6
|
||||
|
||||
You'll have to mess around with your serach...etc as it's out of place
--------------- Added [DATE]1369260685[/DATE] at [TIME]1369260685[/TIME] --------------- I would have gone a different route and simply edited the templates like forumhome and forumdisplay and moved {vb:raw navbar} right above {vb:raw header} |
Благодарность от: | ||
CAG CheechDogg |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|