![]() |
Navbar above header
Hi
I have a second navbar called navbar2, but i want to place it so it appears right at the top of the pages, above the logo and header bits, with no gap above it, but I can't seem to figure out where and in what template to place the $navbar2 code. Any help would be greatly appreciated. |
Dang you confuse me!
so you have a 2nd navbar? where do you put it? who put it? as far as I concern, navbar's code are located on NAVBAR Template... Please post your site or a screenshot |
in the header template ?
|
Site is www.mk3oc.com/forum
We have a 2 row navbar already but i want to add a navbar above our logo right at the top of the page, but have tried putting the $navbar2 code in the header and it won't display the bar at all anywhere. I put it in the forum display template and that worked, but it wasn't quite right at the top. |
In your templates, you will have to find "$navbar", and move it above "$header". By default, it is below "$header".
|
I've done that in my forum display template, i put "$navbar2" above "$header" but it didn't show up at all
|
You probably need to change the location of the plugin.
If you simply place $navbar2 at the top of the header template and with the correct plugin location it should work on all templates |
What do you mean location of the plugin? I'm still quite new to all this vb stuff
|
What is the hook location of the plugin?
|
Quote:
If you simply made a template and called it navbar2 that won't work. You'll need to create a plugin to eval this template so you can make calls to it, and you should also have one to cache the template to save quieries i think. |
Using this plugin: https://vborg.vbsupport.ru/showthread.php?t=166136
Have asked in that thread as well and no-one's replied. Really need the extra bar as well as need some where to put more features and hate cramped bars lol |
You should be able to put the $navbar2 variable right on top of the header template. Make sure you are editing the header template for the skin you are using.
You may have to use inline CSS to remove any margin/padding set by the templates CSS <div style="margin: 0px; padding: 0px;">$navbar2</div> |
Will give that a go, thanks
|
All times are GMT. The time now is 07:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|