The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Site name won't center.

4 posters

Go down

Solved Site name won't center.

Post by Tate December 1st 2009, 10:33 pm

We just changed over our domain and now the site name/ description will not center.

Before the domain name change I managed to get it centered...now for the life of me I can't get it to center.

Currently I have this which I think worked to center it last time. Now it will not center.

<center><font face=verdana color=white size=5<b>Military Support</b></font></center>
avatar
Tate
New Member

Posts : 11
Reputation : 0
Language : English

http://www.militarysupportsite.com

Back to top Go down

Solved Re: Site name won't center.

Post by Tilum December 1st 2009, 10:38 pm

Hey,
What version if your forum?


~ Tilum


Last edited by Tilum on December 1st 2009, 10:40 pm; edited 2 times in total
Tilum
Tilum
Active Poster

Male Posts : 1759
Reputation : 62
Location : England.

Back to top Go down

Solved Re: Site name won't center.

Post by Tate December 1st 2009, 10:38 pm

phbb is the theme version...is that the same thing?
avatar
Tate
New Member

Posts : 11
Reputation : 0
Language : English

http://www.militarysupportsite.com

Back to top Go down

Solved Re: Site name won't center.

Post by Tilum December 1st 2009, 10:40 pm

Don't worry..

use this code:

<center><font face=verdana><color=white><size=5><b>Military Support</b></font></color></size></center>
Tilum
Tilum
Active Poster

Male Posts : 1759
Reputation : 62
Location : England.

Back to top Go down

Solved Re: Site name won't center.

Post by Tate December 1st 2009, 10:42 pm

Tilum wrote:Don't worry..

use this code:

<center><font face=verdana><color=white><size=5><b>Military Support</b></font></color></size></center>

Tried it. It didn't work. Still stuck on the right side of the screen Sad
avatar
Tate
New Member

Posts : 11
Reputation : 0
Language : English

http://www.militarysupportsite.com

Back to top Go down

Solved Re: Site name won't center.

Post by Tilum December 1st 2009, 10:43 pm

Link to your forum please.

~ Tilum
Tilum
Tilum
Active Poster

Male Posts : 1759
Reputation : 62
Location : England.

Back to top Go down

Solved Re: Site name won't center.

Post by Tate December 1st 2009, 10:43 pm

avatar
Tate
New Member

Posts : 11
Reputation : 0
Language : English

http://www.militarysupportsite.com

Back to top Go down

Solved Re: Site name won't center.

Post by Tilum December 1st 2009, 10:46 pm

Locate this code in your CSS:

#pun-title {
padding-left: 5px;
white-space: nowrap;
color: #ffffff;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 20px;

And add this to the bottom of it:

text-align: center;

~ Tilum
Tilum
Tilum
Active Poster

Male Posts : 1759
Reputation : 62
Location : England.

Back to top Go down

Solved Re: Site name won't center.

Post by Tate December 1st 2009, 10:47 pm

Tilum wrote:Locate this code in your CSS:

#pun-title {
padding-left: 5px;
white-space: nowrap;
color: #ffffff;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 20px;

And add this to the bottom of it:

text-align: center;

~ Tilum

Not really great at the CSS thing. Do I need to put the first part in a certain place? Then just put the text-align: center; at the very bottom of the CSS?


EDIT:

Sorry I had a blonde moment. Thought you meant I needed to ADD that.
avatar
Tate
New Member

Posts : 11
Reputation : 0
Language : English

http://www.militarysupportsite.com

Back to top Go down

Solved Re: Site name won't center.

Post by Tilum December 1st 2009, 10:49 pm

Hello,

You need to find that code, try searching (Ctrl F) for "#pun-title"

You should then be moved down the CSS to that section. Then, under font-size: 20px add the text-align: center;

NOTE: Some of the numbers may not be the same as i am using a default CSS.

~ Tilum
Tilum
Tilum
Active Poster

Male Posts : 1759
Reputation : 62
Location : England.

Back to top Go down

Solved Re: Site name won't center.

Post by Tate December 1st 2009, 10:50 pm

Tilum wrote:Hello,

You need to find that code, try searching (Ctrl F) for "#pun-title"

You should then be moved down the CSS to that section. Then, under font-size: 20px add the text-align: center;

NOTE: Some of the numbers may not be the same as i am using a default CSS.

~ Tilum
Okay tried that. Saved CSS code and it still is on the right side of the screen.
avatar
Tate
New Member

Posts : 11
Reputation : 0
Language : English

http://www.militarysupportsite.com

Back to top Go down

Solved Re: Site name won't center.

Post by Tilum December 1st 2009, 11:11 pm

Hey,

Instead, change the left at the bottom of this to center:

/* Header */
body div.pun {
width: 95%;
margin: 0;
}
div#pun-intro {
padding: 0 0 1em 0;
text-align: left;

So, should be:

/* Header */
body div.pun {
width: 95%;
margin: 0;
}
div#pun-intro {
padding: 0 0 1em 0;
text-align: center;
Tilum
Tilum
Active Poster

Male Posts : 1759
Reputation : 62
Location : England.

Back to top Go down

Solved Re: Site name won't center.

Post by Tate December 1st 2009, 11:14 pm

Tilum wrote:Hey,

Instead, change the left at the bottom of this to center:

/* Header */
body div.pun {
width: 95%;
margin: 0;
}
div#pun-intro {
padding: 0 0 1em 0;
text-align: left;

So, should be:

/* Header */
body div.pun {
width: 95%;
margin: 0;
}
div#pun-intro {
padding: 0 0 1em 0;
text-align: center;
I was really crossing my fingers this would work Sad But it didn't.
avatar
Tate
New Member

Posts : 11
Reputation : 0
Language : English

http://www.militarysupportsite.com

Back to top Go down

Solved Re: Site name won't center.

Post by MMI December 2nd 2009, 2:42 am

You have the same theme as I do and I got mine to center by deleting the Forum main logo in Pics Management (if you view your site in IE, it shows a blue bar to the left of the site name which prevents your site name from centering).
avatar
MMI
New Member

Posts : 8
Reputation : 0
Language : English

http://generaltranscription.forumotion.com

Back to top Go down

Solved Re: Site name won't center.

Post by Tate December 2nd 2009, 2:26 pm

MMI wrote:You have the same theme as I do and I got mine to center by deleting the Forum main logo in Pics Management (if you view your site in IE, it shows a blue bar to the left of the site name which prevents your site name from centering).

:wouhou: Can you believe it was something as simple as that. Thank you SO much! Problem Solved!
avatar
Tate
New Member

Posts : 11
Reputation : 0
Language : English

http://www.militarysupportsite.com

Back to top Go down

Solved Re: Site name won't center.

Post by Sanket December 3rd 2009, 3:36 pm

Since this thread appears to be solved, I will lock this thread and mark it as solved.
Site name won't center. 2j4t5a8

Sanket Smile
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

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