The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How do you center the Header Names for each Column!?

View previous topic View next topic Go down

Solved How do you center the Header Names for each Column!?

Post by Khalus on March 6th 2011, 9:11 am

I've been searching the forums for the past hr or so and no solution yet I've found, and I've been digging into every page of the admin panel and I just missed it or its not an option.

Anyway, here is an image of what I'm talking about, and I'm using Invision. I'd like to have the circled text centered on the bar instead of left justified. I have another forum that is phpbb2 and the header text are centered, but I have no idea how I did it or if its standard that way. Its been awhile since I made those forums. {see image 2}

And I'd like it if the solution would center the text for all the widgets too...thanks very much!






Khalus
Forumember

Posts : 42
Reputation : 0
Language : English

Back to top Go down

Solved Re: How do you center the Header Names for each Column!?

Post by Y I Man on June 28th 2011, 10:15 pm

Hi, im looking to do the same thing. Im running phpBB3 and the category title header is too close to left and with the header colouring its difficult to see it on the main forum page, and also whilst within the section.

Is there a code to centre the name of the category, or a code to move it a few spaces to the right?

Please help, ive been looking on here for over an hour now and cant find any codes to do it.

Thanks
YI

Y I Man
Forumember

Posts : 25
Reputation : 0
Language : English

Back to top Go down

Solved Re: How do you center the Header Names for each Column!?

Post by Mike on June 28th 2011, 11:01 pm

Forum Links?

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Solved Re: How do you center the Header Names for each Column!?

Post by Y I Man on June 28th 2011, 11:08 pm

http://hugechoons.forumotion.co.uk/forum

It's the Red titles I want to move to either the centre, or a few spaces to the right:

"Welcome to the board"
"Music Discussion"
"Musicians Corner"
"Quizzes & Games"

Y I Man
Forumember

Posts : 25
Reputation : 0
Language : English

Back to top Go down

Solved Re: How do you center the Header Names for each Column!?

Post by Mike on June 28th 2011, 11:17 pm


Find:

Code:
.table-title, .table-title h2 {
color: #FF0505;
display: inline;
font-size: 1em;
}

Replace:

Code:
.table-title, .table-title h2 {
color: #FF0505;
display: inline;
font-size: 1em;
text-align: center;
}

If you cannot find it just add to your CSS:

Code:
.table-title, .table-title h2 {
color: #FF0505;
display: inline;
font-size: 1em;
text-align: center !important;
}

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Solved Re: How do you center the Header Names for each Column!?

Post by Y I Man on June 28th 2011, 11:25 pm

Hi, I entered it into the CSS, and it hasn't worked. The alignment is still on the left hand side.

Y I Man
Forumember

Posts : 25
Reputation : 0
Language : English

Back to top Go down

Solved Re: How do you center the Header Names for each Column!?

Post by Nera. on June 28th 2011, 11:29 pm

Hi,
Code:

ul.topiclist li.header dl dd {
    border: medium none;
    text-align: center;
}


Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How do you center the Header Names for each Column!?

Post by Y I Man on June 28th 2011, 11:33 pm

Thanks so much. Solved cheers

Y I Man
Forumember

Posts : 25
Reputation : 0
Language : English

Back to top Go down

Solved Re: How do you center the Header Names for each Column!?

Post by Nera. on June 28th 2011, 11:36 pm

Solved ~ Locked

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum