REGISTER or LOGIN to have the annoying ads removed.
Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
logo center
May 06, 2009, 02:50 PM
Post: #1
logo center
im using the theme blackbb ive uploaded a custom logo but how do i center it?
Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
May 06, 2009, 04:07 PM
Post: #2
RE: logo center
In the header template, put <div align="center"> before the line of code for the logo and </div> after it.

Click here to download ALL MyBB Central plugins!!
Visit this user's website Find all posts by this user
Quote this message in a reply
May 07, 2009, 03:27 PM
Post: #3
RE: logo center
Use css instead.

.logo { text-align: center; }

Add that to the extra css in your theme.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
May 07, 2009, 06:51 PM
Post: #4
RE: logo center
so where exactly should i edit the css code

<properties>
<templateset><![CDATA[2]]></templateset>
<editortheme><![CDATA[default]]></editortheme>
<imgdir><![CDATA[images/blackbb]]></imgdir>
<logo><![CDATA[images/blackbb/logo2.png]]></logo>
<tablespace><![CDATA[4]]></tablespace>
<borderwidth><![CDATA[1]]></borderwidth>
</properties>
Find all posts by this user
Quote this message in a reply
May 08, 2009, 10:54 AM (This post was last modified: May 08, 2009 10:54 AM by Willox.)
Post: #5
RE: logo center
before </properties> dont shout if it doesnt work lol
or maybe where <logo> is

Click Here For MyBB Central Plugins
Spoiler
Find all posts by this user
Quote this message in a reply
May 08, 2009, 01:53 PM
Post: #6
RE: logo center
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.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
May 13, 2009, 01:43 PM
Post: #7
RE: logo center
(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.
Find all posts by this user
Quote this message in a reply
May 17, 2009, 02:56 AM
Post: #8
RE: logo center
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)
Find all posts by this user
Quote this message in a reply
Jan 21, 2010, 09:14 PM
Post: #9
Question RE: logo center
It should look this I think ?

<div id="header">
Code:
<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>
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:



icon buffet