MyBB Community Forums

Full Version: How can i change my banner?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm currently using this theme: http://mods.mybboard.net/view/aadamentium and i need to know how i can change my banner from my forum? Thanks in advanceBig Grin .
go into the admincp. Go to themes. Click your theme. Then scroll done to logo and put the url to your logo.
I found this information on another site. It worked for me:

By default, the MyBB logo is positioned within the COntainer div. To add a banner, that's going to need to change.

First steps first. Go to "Templates and Styles" within the admin area. Select your theme that you wish to change the header of. Click "Add Stylesheet". Call it "custom.css", set it "Globally" and select "Write my own content". In the box that appears, add this code:

Code:
#topheader {
width: 95%;
background: #fff url(images/gfxpalace/misc/head_bg.png) no-repeat;
background-position: center top;
border: 0px solid #e4e4e4;
color: #000000;
margin: auto auto;
padding: 20px;
text-align: left; /* IE 5 fix */
}

(You can customise this however you wan, obviously).

Now, save that and go back to "STyles and Templates". Now to edit the template.

Click on Templates at the left and select the template set for your theme. Edit the template called "header".

Right at the top, add:

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

Now, find the next recurrence of
Code:
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
and delete it. Save and you should be done. it doesn't look great - but it's up to you to customise it exactly how you want =D I can help with that too if you wish.



NOTE: you may want to edit the logo image so it has a transparent background. Otherwise it will look not too good.

Credit: http://www.mybbcentral.com/archive/index...-4306.html