Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Positioning Your Forum Logo
Author Message
Conor Calby
Posting Freak


Posts: 943
Joined: Jan 2010
Reputation: 15
Post: #1
Positioning Your Forum Logo
I was trying to do this, this morning and finally figured it out and thought I should share

TO CENTER LOGO:
Go to
Quote:ACP>>Templates>>**Your Theme**>>Head Templates>>Header

Find
Code:
<div class="logo">
and replace with
Code:
<div class="logo" style="margin:0 auto;text-align:center">

TO ALIGN LOGO LEFT

Go to
Quote:ACP>>Templates>>**Your Theme**>>Head Templates>>Header

Find
Code:
<div class="logo">
and replace with
Code:
<div class="logo" style="margin:0 auto;text-align:left">

TO ALIGN LOGO RIGHT
Go to
Quote:ACP>>Templates>>**Your Theme**>>Head Templates>>Header

Find
Code:
<div class="logo">
and replace with
Code:
<div class="logo" style="margin:0 auto;text-align:right">

Enjoy

--Conor

MyBBSource Support Team Member - MyBBSource Tutorials Team Leader
Official MyBB Support Tech
If I helped, why not rep me
05-30-2010, 04:10 PM
euantor
Posting Freak



Posts: 870
Joined: Jun 2009
Reputation: 7
Post: #2
RE: Positioning Your Forum Logo
You could also do it by setting margin: auto Nice tut for those with no HTML/css knowledge though!
05-30-2010, 06:25 PM
Conor Calby
Posting Freak


Posts: 943
Joined: Jan 2010
Reputation: 15
Post: #3
RE: Positioning Your Forum Logo
I don't know css xD your a theme coder you do

MyBBSource Support Team Member - MyBBSource Tutorials Team Leader
Official MyBB Support Tech
If I helped, why not rep me
05-31-2010, 07:53 PM
ms365
MybbSource Skinner


Posts: 95
Joined: Dec 2009
Reputation: 1
Post: #4
RE: Positioning Your Forum Logo
Nice for Beginners
Well, why don't you learn CSS? It's very easy and fun!
You can see yourself text-align means aligning of the text
Fortunately, its not something like "module.load(align){position:x-axis;343;y-axis;ds}" Nor is HTML !
euantor Wrote:You could also do it by setting margin: auto Nice tut for those with no HTML/css knowledge though!
Won't margin:auto just center the text? Here, ccalby has shown us the ways for all the three directions
(This post was last modified: 06-05-2010, 05:24 AM by ms365)
06-02-2010, 12:24 AM
Don+
Member


Posts: 68
Joined: Aug 2010
Reputation: 0
Post: #5
RE: Positioning Your Forum Logo
Thank You, I always wondered how to do that
08-21-2010, 10:19 AM
1master1
Member


Posts: 88
Joined: Aug 2010
Reputation: 0
Post: #6
RE: Positioning Your Forum Logo
its better to use float: right; to show on right and float: left; to show on left, text-align is related to something like text.
02-24-2011, 08:48 AM
fma965
Member


Posts: 77
Joined: Jul 2011
Reputation: 0
Post: #7
RE: Positioning Your Forum Logo
thanks
08-01-2011, 05:56 AM




User(s) browsing this thread: 2 Guest(s)