MyBB Community Forums
Navigation Bar - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- 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

evan
www.teamsponsor.net


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>
<li><a href="http://interviewedyou.com">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>
</ul>
</div>
</div>

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