MyBB Community Forums

Full Version: Template header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello i have a tiny problem its not much but at the top of my forum you will see this


Search Member List Calendar Help

What i want to be able to do is add my own icons to these you will see what i mean as the icons on my site next to these words look terrible so can anyone help me thank you if so what and where do i put my images in the header template

http://www.handheldgaming.org
The easiest way of doing this is to just overwrite the old images by using the same name and format. For example, the image next to the search link is called search.gif and its 16x16 and is located in images/portal2/toplinks/search.gif. So just find a gif image of your liking preferably with similar dimensions, rename it to search.gif and upload it to images/portal2/toplinks and overwrite. Do the same for the others.
Is there any way of changing them and putting images in the template header i cant seem to do it this way
You can edit the links in the header template. You'll be looking for this, or something similar.

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

Change these to the new image locations

<img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />
<img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />
<img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />
<img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />
Ok thanks for this help so far