2015-08-23, 03:50 AM
Hello everyone,
I've been messing around for hours trying different guides all over the web. I've tried adding the entry to global.lang etc. I can't seem to get my custom toplink images or text to space out like the default toplinks.
If you look at the "Main Site" link on the live webpage you'll see what I mean.
www.therustyspittoon.com/forums
Here is my code in the header template (I just created a theme through the ACP, I'm just building off the default template.)
global.lang.php
header template
Am I going about this the wrong way?
In advanced, thanks.
I've been messing around for hours trying different guides all over the web. I've tried adding the entry to global.lang etc. I can't seem to get my custom toplink images or text to space out like the default toplinks.
If you look at the "Main Site" link on the live webpage you'll see what I mean.
www.therustyspittoon.com/forums
Here is my code in the header template (I just created a theme through the ACP, I'm just building off the default template.)
global.lang.php
$l['toplinks_mainsite'] = "Main Site";
header template
<!-- custom container -->
<div id="custom-container">
<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div id="logo">
<div class="wrapper">
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
<ul class="menu top_links">
<a href="http://therustyspittoon.com" target=""><img src="images/Rusted/main.png" alt="" title="" />{$lang->toplinks_mainsite}</a >
{$menu_memberlist}
{$menu_search}
</ul>
</div>
</div>
Am I going about this the wrong way?
In advanced, thanks.