2012-06-23, 09:07 AM
2012-06-23, 09:20 AM
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.
2012-06-23, 09:26 AM
nope not next to each other,want add it on left and right corner see picture
2012-06-23, 09:38 AM
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>
2012-06-23, 09:40 AM
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.
2012-06-23, 10:10 AM
yes but i want add another banner diferent then existin on the left side??
can be done like this to add both code
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;
}
2012-06-23, 11:01 AM
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.
2012-06-23, 09:01 PM
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>
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>