MyBB Community Forums
Navigation Bar - Printable Version

+- MyBB Community Forums (
+-- Forum: Extensions (
+--- Forum: Themes (
+---- Forum: Theme Support (
+---- Thread: Navigation Bar (/thread-82166.html)

Navigation Bar - iTzEvaN - 2010-11-14

Hey im looking for a way that i can add a custom nav bar into my header please help thanks


RE: Navigation Bar - Brad.V - 2010-11-15

Well, first you need to create a menu.css file, with all the css that contains all the navbar coding. and save it in the forum root.

Then go to your header, find:

<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div> <br /><br />

After add:

<div class="menu">
<link rel="stylesheet" type="text/css" href="menu.css" />
<div id="menu">
<ul class="menu">
<li><a href="">Home</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">Search</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>

If you want, I can create you a menu.css file.