MyBB Community Forums

Full Version: Navigation Bar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
well i got the theme blackevo4-Fire theme and i wanted to know where i can edit the navigation bar on the theme i cant seem to find it. I checked the Global.css file and it didnt have anything in there can someone please help me?
If you talking about the top menu bar then this is what you do:

ACP> Templates & Style > Template > Header > Edit Header.

When you edit the header file, you will notice something like this:

<ul class="menu top_links"> 

That's where your menu bar starts Toungue

Underneath it, you can edit, remove, add butons to the menu bar. Hope that helps. Smile
(2011-05-13, 03:19 AM)Striker Destiny Wrote: [ -> ]If you talking about the top menu bar then this is what you do:

ACP> Templates & Style > Template > Header > Edit Header.

When you edit the header file, you will notice something like this:

<ul class="menu top_links"> 

That's where your menu bar starts Toungue

Underneath it, you can edit, remove, add butons to the menu bar. Hope that helps. Smile
Thankz man

(2011-05-13, 03:19 AM)Striker Destiny Wrote: [ -> ]If you talking about the top menu bar then this is what you do:

ACP> Templates & Style > Template > Header > Edit Header.

When you edit the header file, you will notice something like this:

<ul class="menu top_links"> 

That's where your menu bar starts Toungue

Underneath it, you can edit, remove, add butons to the menu bar. Hope that helps. Smile

hey what if i wanted to add a page what would i do?
You would need to add line below this:
<ul class="menu top_links"> 

Here is how it will look like:
<ul class="menu top_links"> 
<li><a href="http://yourwebsiteurl.com" title="titleofthesite">The Text Goes Here</a></li>
(2011-05-13, 03:26 AM)Striker Destiny Wrote: [ -> ]You would need to add line below this:
<ul class="menu top_links"> 

Here is how it will look like:
<ul class="menu top_links"> 
<li><a href="http://yourwebsiteurl.com" title="titleofthesite">The Text Goes Here</a></li>

not working
(2011-05-13, 03:49 AM)sk1lla v1 Wrote: [ -> ]
(2011-05-13, 03:26 AM)Striker Destiny Wrote: [ -> ]You would need to add line below this:
<ul class="menu top_links"> 

Here is how it will look like:
<ul class="menu top_links"> 
<li><a href="http://yourwebsiteurl.com" title="titleofthesite">The Text Goes Here</a></li>

not working

okay do you mind sending me a print screen of your header code. Better yet, copy and paste the whole code of the header file here so I can see it Smile
<div class="fixed_wb">{$welcomeblock}</div>
<div class="header_main">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<div class="header_menu">
<div class="menu">
                         <ul>
                         <a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.png" alt="" title="" /><span class="smalltext">{$lang->toplinks_search}</span></a>
                         <li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.png" alt="" title="" />{$lang->toplinks_help}</a></li>
                         <a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.png" alt="" title="" /><span class="smalltext">MemberList</span></a>
                         <a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.png" alt="" title="" /><span class="smalltext">{$lang->toplinks_calendar}</span></a>     
                         </ul>
</div>
</div>
</div>
</div>
<br>
<div id="container">
<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			<hr class="hidden" />

<navigation><br>
okay find this:

<div class="menu">
                         <ul>
                         <a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.png" alt="" title="" /><span class="smalltext">{$lang->toplinks_search}</span></a>
                         <li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.png" alt="" title="" />{$lang->toplinks_help}</a></li>
                         <a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.png" alt="" title="" /><span class="smalltext">MemberList</span></a>
                         <a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.png" alt="" title="" /><span class="smalltext">{$lang->toplinks_calendar}</span></a>     
                         </ul>
</div>

And Replace it with this:

<div class="menu">
                 <ul>
                         <li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.png" alt="" title="" />{$lang->toplinks_search}</span></a></li>
                         <li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.png" alt="" title="" />{$lang->toplinks_help}</a></li>
                         <li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.png" alt="" title="" />MemberList</span></a></li>
                         <li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.png" alt="" title="" />{$lang->toplinks_calendar}</span></a></li>     
                         <li><a href="{$mybb->settings['bburl']]/index.php"><img scr="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.png" alt="" title=""/>Custom Text</a></li>
	 </ul>
</div>


Now, in the last statement which is:
Quote:<li><a href="{$mybb->settings['bburl']]/index.php"><img scr="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.png" alt="" title=""/>Custom Text</a></li>

Replace the "/index.php" with the link you want. Then enter the custom text. It should work Smile

Good Luck Toungue