MyBB Community Forums

Full Version: Forum Logo in center.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
pls tell me how to keep my forum logo in center.

anything need to edit in header?
my code is
{$fb}<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img align:center src="http://i2.lulzimg.com/d8227cdc87.png" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
Change this;
<div class="logo">
into this;
<div class="logo" align="center">
Ive attempted this script to center my board logo but sadly there was no result here is my current code

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

and here is the result
http://thecrypt.org/bb/
Open Global.css

Find:
.logo
paste all the contents inside .logo here.
(2012-07-15, 03:50 PM)vernier Wrote: [ -> ]Open Global.css

Find:
.logo
paste all the contents inside .logo here.

he's got a left float for the logo div.

you need to edit global.css via the theme editor and change .logo and remove the float: left; and add text-align: center;

then you can change the template edit you made and remove align=center
worked, thank you.
On a similar note....if I wanted to add text to the right of the logo (positioned left) where would I do this edit?

Thanks,
<div class="logo"><center><a href="{$mybb->settings['bburl']}/index.php"><img src="http://i2.lulzimg.com/d8227cdc87.png" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></center></div>

i think it would also work
Now its not working and also there is no .logo in global.css files.
help me pls.