MyBB Community Forums

Full Version: Adding new links to Apart Navigation bar?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How am I able to add new links to my Apart theme navigation bar? I added an extra line in header and edited global.css and it still doesnt show up.
ACP >> Templates & Style >> Templates >> Apart Flame (I assume) >> Header Templates >> header

Find:
<ul class="menu top_links">
<li><a href="{$mybb->settings['bburl']}/search.php" class="search">{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php" class="memberlist">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php" class="calendar">{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
</ul>

Add the following code just before </ul> tag:
<li><a href="LINK_URL" class="LINK_CLASS">LINK_NAME</a></li>

Replace LINK_CLASS with the accompanying page name.

Create the class in global.css using "#panel .upper ul.top_links a.LINK_CLASS" with the rules in there. Smile
Thanks so much but is there a way I can have an Image before it?
Solved
I'm glad that its solved now Smile
how to put image on link navbar...???
(2011-05-28, 06:38 PM)bangdex Wrote: [ -> ]how to put image on link navbar...???

In above, replace this;
<li><a href="LINK_URL" class="LINK_CLASS">LINK_NAME</a></li>
to this;
<li><a href="LINK_URL" class="LINK_CLASS"><img src="YOUR_IMAGE_URL">&nbsp;LINK_NAME</a></li>
can someone post a pic of how it looked before and after?
(2011-05-28, 08:13 PM)dakillerclown87 Wrote: [ -> ]can someone post a pic of how it looked before and after?

Before --> [attachment=22916]
After -->[attachment=22917]
(2011-05-27, 04:26 PM)Yaldaram Wrote: [ -> ]ACP >> Templates & Style >> Templates >> Apart Flame (I assume) >> Header Templates >> header

Find:
<ul class="menu top_links">
<li><a href="{$mybb->settings['bburl']}/search.php" class="search">{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php" class="memberlist">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php" class="calendar">{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
</ul>

Add the following code just before </ul> tag:
<li><a href="LINK_URL" class="LINK_CLASS">LINK_NAME</a></li>

Replace LINK_CLASS with the accompanying page name.

Create the class in global.css using "#panel .upper ul.top_links a.LINK_CLASS" with the rules in there. Smile


i can't find this code on the cure templates, is there's an alternative way on this?