REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
logo center
im using the theme blackbb ive uploaded a custom logo but how do i center it?
In the header template, put <div align="center"> before the line of code for the logo and </div> after it.
Use css instead.

.logo { text-align: center; }

Add that to the extra css in your theme.
so where exactly should i edit the css code

before </properties> dont shout if it doesnt work lol
or maybe where <logo> is
Inside admincp under Templates and Themes you edit the theme you use. Do "advanced edit" and on the bottom add my css in previous post.
(May 08, 2009, 10:54 AM)Willox Wrote: before </properties> dont shout if it doesnt work lol
or maybe where <logo> is

ROFL, incorrect both times.
And if all that do not work

put the code

PHP Code:
<img src="{$theme['logo']}alt="{$mybb->settings['bbname']}title="{$mybb->settings['bbname']}/> 

between <center> </center>

You find this code somewhere in the top of the header template (default templates)
It should look this I think ?

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

Forum Jump:

Users browsing this thread: 2 Guest(s)