Can someone give me a way to center the logo AND the toplinks?
I think I saw a way to center the logo somewhere but have no idea where it went. I don't know about the links....
Just curious
To center the logo and toplinks, you need to do the following:
admin cp-> modify templates -> your theme -> header -> find
<img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" />
And replace with
<center><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></center>
That's for the logo, now for the top links.
Find
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
<li><a href="http://havokhost.com/v2/pages.php?page=plans"><img src="{$theme['imgdir']}/toplinks/portal.gif" alt="" />Hosting Plans</a></li>
</ul>
And replace with
<center><ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
<li><a href="http://havokhost.com/v2/pages.php?page=plans"><img src="{$theme['imgdir']}/toplinks/portal.gif" alt="" />Hosting Plans</a></li>
</ul></center>
That should do it!
Worked for logo, Thanks.
But it didn't do anything to the links....?