MyBB Community Forums

Full Version: Header logo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can i add a image logo to the top of my forum what is the code i need to look for in the header template and where do i put the image for my logo please help thanks
Goto Admin CP >> Themes >> Your Theme >> Board Logo and enter the url of the image there

alternatively you can change it from here also in the header templates
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
Ok thanks that works i now have another problem is there a code to put images on the left or right side in the header template thanks so they will then show at the top of the forum
To do that it might be best to use a floating div. Something like this...

<div style="float: left;"><img src="http://www.imageurl.com" /><div>

Its not a great way of doing it but it should work and its an easy copy and paste. You should really add any styling to the stylesheet and just keep only plain html in the templates.
Thanks again
Instead of using inline stying, set the div class to float_left which is already pre-defined in your theme CSS
Ok thanks Tindris