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 can I center user information in posts?

View previous topic View next topic Go down

Solved How can I center user information in posts?

Post by audrey t. on July 24th 2011, 7:57 am

*Hope this is in the right forum.

How can I center the user information (name, avatar, rank, post count, etc) in the posts in my forum? They're currently all aligned to the left.

If it helps, my forum is here http://mibbamag.niceboards.org/ and my theme version is PunBB (punbb).

audrey t.
New Member

Female Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: How can I center user information in posts?

Post by Base on July 24th 2011, 10:29 am

Hi, for centring all the user information, please add this to your CSS code:

Code:
.pun .user-ident .username a {
    margin-left: 60px;
    text-decoration: none;
}
.pun .post .user {
    text-align: center;
}

You may need to play around with the 60px until it's exactly in the centre. Smile

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: How can I center user information in posts?

Post by audrey t. on July 24th 2011, 2:38 pm

Thanks so much. That worked perfectly.

audrey t.
New Member

Female Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: How can I center user information in posts?

Post by Sanket on July 24th 2011, 7:07 pm

Since this thread appears to be solved, I will lock this thread and mark it as solved.


Sanket Smile


Sanket
ForumGuru

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

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