Open header template.
Find:
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
replace with:
<li><a href="{$mybb->settings['bburl']}"><img src="{$theme['imgdir']}/toplinks/home.gif" alt="" title="" />Main Site</a></li>
Also upload a good 16x16 home.gif inside your 'toplinks' folder under your theme image directory.
Hi jayy,
Go to your ACP > Templates & Style > Templates >
Your Style > Header Templates > header
Here, edit this line:
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
To this:
<li><a href="{$mybb->settings['bburl']}"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />Main Site</a></li>
(2013-08-07, 10:06 AM)effone Wrote: [ -> ]x
(2013-08-07, 10:09 AM)AndroidOS Wrote: [ -> ]x
Thanks, but I forgot to mention that my my forum is an addition to my main website, so it's '.co.uk/forum'
The links you provided links it to my main forum site instead of my main website
In this case, change it like so:
Edit this line (the same one from before):
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
To this:
<li><a href="yoursite.co.uk"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />Main Site</a></li>
(2013-08-07, 10:21 AM)AndroidOS Wrote: [ -> ]In this case, change it like so:
Edit this line (the same one from before):
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
To this:
<li><a href="yoursite.co.uk"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />Main Site</a></li>
Thanks it worked
This is what it looked like 'http://mywebsite.co.uk/forum/mywebsite.co.uk'
But I used to redirector plugin to change it to send that to my homepage
(2013-08-07, 10:06 AM)effone Wrote: [ -> ].
(2013-08-07, 10:21 AM)AndroidOS Wrote: [ -> ].
Can you please help me correct the code below to make the 'Main Site' font colour white?
Quote:<li><a href="yoursite.co.uk"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />Main Site</a></li>