MyBB Community Forums

Full Version: Navigation bar - li class
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Website: http://www.dark-fraction.com/portal.php

As you can see when you go to the portal page the portal button doesn't highlight as it's supposed to, but if you go to the forums page you can see that they both highlight.

Here is the code in the header template:

<ul id="pagemenu">
    					<li class="home"><a href="{$mybb->settings['bburl']}/portal.php">Portal</a></li>
    					<li class="home"><a href="{$mybb->settings['bburl']}/index.php">Forum</a></li>
					<li class="memberlist"><a href="{$mybb->settings['bburl']}/misc.php?page=donate">Donation</a></li>
                                        <li class="content"><a href="{$mybb->settings['bburl']}/misc.php?page=content">Content</a></li>
					<li class="calendar"><li><a href="{$mybb->settings['bburl']}/misc.php?page=staff">Staff</a></li>
                                        <li class="help"><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
</ul>

I've tried changing the li class for the portal to portal but it doesn't work.

The CSS for the menu: http://pastebin.com/Eu7k7rRH

How would I add another Li class for Portal, Donation, Content and Staff?
The theme used: http://mods.mybb.com/view/gamesmania

Thanks, Adam.[/code]
You can try making a li class.

.example {
your css code here...
}

Then via html use.
<li class="example">List item</li>