MyBB Community Forums

Full Version: Logo Problem. Want it too be placed in the centre.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys, not too good at website design and such. Looked at some tutorials on here on how to do it but it doesn't seem to be working. Any one got any ideas?


Edit; Here's the forum link. http://explicitgaming.netau.net/Forum/


Header template
Quote:<a name="top" id="top"></a>
<div id="mainwidth">

<div class="menu" style="margin-top: 0px;">
<ul>
<li id="nav-portal"><a href="{$mybb->settings['bburl']}/portal.php"><i style="font-size: 14px;" class="fa fa-home fa-fw"></i> Home</a></li>

<li id="nav-forums"> <a href="{$mybb->settings['bburl']}/index.php"><i style="font-size: 14px;" class="fa fa-globe fa-fw"></i> Forums</a></li>

<li id="nav-search"> <a href="{$mybb->settings['bburl']}/search.php"><i style="font-size: 14px;" class="fa fa-search fa-fw"></i> Search</a></li>

<li id="nav-member"> <a href="{$mybb->settings['bburl']}/memberlist.php"><i style="font-size: 14px;" class="fa fa-user fa-fw"></i> Members</a></li>

<li id="nav-calendar"> <a href="{$mybb->settings['bburl']}/calendar.php"><i style="font-size: 14px;" class="fa fa-calendar fa-fw"></i> Calendar</a></li>

<li id="nav-help"> <a href="{$mybb->settings['bburl']}/misc.php?action=help"><i style="font-size: 14px;" class="fa fa-life-ring fa-fw"></i> Help</a></li>
<ul>
</div>

<br />

<div id="float_right"> {$welcomeblock}</div>
<div id="logo" style="margin-top: -20px;">
<div class="wrapper">
<div id="float_left"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
</div>
</div>
<div id="mbox" style="margin-top: -20px;">
<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div id="content">
<div class="wrapper">
<navigation><br />
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
{$awaitingusers}
{$pm_notice}

Also the drop down menu under users name doesn't apear any texts/icons [Image: wuv3hKu.jpg]
I don't see how this is a upgrade support nor installation error.
Change this
<div id="float_left"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>

To this
<div style="text-align:center"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
(02-12-2015, 09:45 PM)dragonexpert Wrote: [ -> ]Change this

<div id="float_left"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>

To this

<div style="text-align:center"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
Thanks for the fast response but it's still not working.
Quote:<a name="top" id="top"></a>
<div id="mainwidth">

<div class="menu" style="margin-top: 0px;">
<ul>
<li id="nav-portal"><a href="{$mybb->settings['bburl']}/portal.php"><i style="font-size: 14px;" class="fa fa-home fa-fw"></i> Home</a></li>

<li id="nav-forums"> <a href="{$mybb->settings['bburl']}/index.php"><i style="font-size: 14px;" class="fa fa-globe fa-fw"></i> Forums</a></li>

<li id="nav-search"> <a href="{$mybb->settings['bburl']}/search.php"><i style="font-size: 14px;" class="fa fa-search fa-fw"></i> Search</a></li>

<li id="nav-member"> <a href="{$mybb->settings['bburl']}/memberlist.php"><i style="font-size: 14px;" class="fa fa-user fa-fw"></i> Members</a></li>

<li id="nav-calendar"> <a href="{$mybb->settings['bburl']}/calendar.php"><i style="font-size: 14px;" class="fa fa-calendar fa-fw"></i> Calendar</a></li>

<li id="nav-help"> <a href="{$mybb->settings['bburl']}/misc.php?action=help"><i style="font-size: 14px;" class="fa fa-life-ring fa-fw"></i> Help</a></li>
<ul>
</div>

<br />

<div id="float_right"> {$welcomeblock}</div>
<div id="logo" style="margin-top: -20px;">
<div class="wrapper">
<div style="text-align:center"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
</div>
</div>
<div id="mbox" style="margin-top: -20px;">
<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div id="content">
<div class="wrapper">
<navigation><br />
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
{$awaitingusers}
{$pm_notice}

Any other ideas?
Still having difficuties with this.
Try this:

Change:
<div style="text-align:center"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>

To:
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" align="middle" /></a>