MyBB Community Forums

Full Version: header links?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i want to change my pics for my own toplinks...but i can't seem to find out how....here's the code:

<ul class="menu top_links" >

<li><a href="{$mybb->settings['bburl']}/search.php" class="search">Search</a></li>


<li><a href="{$mybb->settings['bburl']}/memberlist.php" class="memberlist">Members</a></li>

<li><a href="{$mybb->settings['bburl']}/calendar.php" class="calendar">Events</a></li>

<li><a href="{$mybb->settings['bburl']}/index.php" />Forum</li>



as you can see i don't know what to do with my forum toplink...how do i get it to have a picture next to it like the search, calendar, etc.???

please step by step...

Thanks
In your theme's global.css there should be classes for "search", "memberlist", "calendar", etc that have the CSS to have an image next to them.

Just make a new class and copy one of the others and change the image url.
thanks pjguh for your feedback.
You can simply just add in the image right next to the link aswell by doing this:

<a href="{$mybb->settings['bburl']}/calendar.php" class="calendar"><img src="{$mybb->settings['bburl']}/images/imagelocatedhere.png" alt="" title="" />Events</a>

All you need to do is replace imagelocatedhere.png with a image that you want to use uplaoded in your /images/ directory of MyBB.
the image urls can be changed, find the image url and over power that image by uploading the image you want as the same url as the old one