MyBB Community Forums
Template header - Printable Version

+- MyBB Community Forums (
+-- Forum: Extensions (
+--- Forum: Themes (
+---- Forum: Theme Support (
+---- Thread: Template header (/thread-139925.html)

Template header - robertson123 - 2013-05-25

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

RE: Template header - Heartless - 2013-05-25

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.

RE: Template header - robertson123 - 2013-05-26

Is there any way of changing them and putting images in the template header i cant seem to do it this way

RE: Template header - Heartless - 2013-05-26

You can edit the links in the header template. You'll be looking for this, or something similar.

			<div class="menu">
					<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>

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="" />

RE: Template header - robertson123 - 2013-05-28

Ok thanks for this help so far