MyBB Community Forums

Full Version: Double Logo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi want add double logo from both corner left and right on index page it is possible and how i do it.
Hi, I am trying to understand, do you want to have two logos put next to each other on your forum? The only way I can see this happening is to photoshop the logos together.
nope not next to each other,want add it on left and right corner see picture

[Image: ScreenShot037-1.png]
AdminCP > Templates > Your theme's templates > Header Templates > header > find the following;
<div id="header">
and ADD the following just AFTER that;
<span style="float: right;"><img src="IMAGE PATH" alt="" title=""></span>
I usually don't recommend using float: as it tends to break half the website in mybb. If you have any problems, you might need to tweak a bit of code to fix it.
yes but i want add another banner diferent then existin on the left side??

can be done like this to add both code

.logo {
    background: #0068b1 url(images/MyBlu/headerbg.png) top left repeat-x;
    text-align: center;
    height: 84px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
}

.logo {
    background: #0068b1 url(images/MyBlu/headerbg.png) top left repeat-x;
    text-align: left;
    height: 84px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
}
The code I gave previously should add another banner besides the header logo. You should have to change the IMAGE PATH with the path of your another banner.
i think, below will work, edit the header

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


Replace with:

<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a><a href=http://YOUR WEBSITE.com><img src=Your IMAGE LINK align="right"></div>