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.

Avatar and profile fields help (alignment and placing)

View previous topic View next topic Go down

Solved Avatar and profile fields help (alignment and placing)

Post by Miss-March on Sat Feb 13, 2016 12:49 pm

Hello.

The issue I have is the profile fields (or whatever they're called) not being aligned with the avatar picture that shows on the left side in messages/posts. The picture seems to be in the center, while everything else is pushed off to the left side. I would really appreciate it if someone could help me fix it by making the text and whatnot move to the center.

The things I'm referring to as profile fields - because I currently have no better word for them - are the posts count and exp amount, and whatever else I'd add there in the future.

Is this possible to accomplish?

Clicky for picture


Last edited by Miss-March on Mon Feb 15, 2016 8:33 am; edited 1 time in total
avatar
Miss-March
New Member

Posts : 9
Reputation : 1
Language : English

http://fairytailzero.forumotion.com/

Back to top Go down

Solved Re: Avatar and profile fields help (alignment and placing)

Post by Vanityy on Sat Feb 13, 2016 2:43 pm

Add this to CSS:
Code:
.postprofile {
text-align: center;
}
avatar
Vanityy
Helper
Helper

Male Posts : 2336
Reputation : 323
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Solved Re: Avatar and profile fields help (alignment and placing)

Post by Miss-March on Sun Feb 14, 2016 10:53 am

Doesn't seem to work.
avatar
Miss-March
New Member

Posts : 9
Reputation : 1
Language : English

http://fairytailzero.forumotion.com/

Back to top Go down

Solved Re: Avatar and profile fields help (alignment and placing)

Post by Vanityy on Sun Feb 14, 2016 12:01 pm

Try this:
Code:
.postprofile dt {
text-align: center;
}
.postprofile dd {
text-align: center;
}
avatar
Vanityy
Helper
Helper

Male Posts : 2336
Reputation : 323
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Solved Re: Avatar and profile fields help (alignment and placing)

Post by Ange Tuteur on Sun Feb 14, 2016 12:37 pm

Hey,

Your forum version is PunBB, correct ? If so, try adding the following rule to your stylesheet :
Code:
.user {
  text-align:center;
}

That should center the entire texts of the profile, save for the username. If you also want the username centered let me know. Wink
avatar
Ange Tuteur
Forumaster

Male Posts : 13175
Reputation : 2876
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Avatar and profile fields help (alignment and placing)

Post by Miss-March on Sun Feb 14, 2016 2:03 pm

Oh, it worked. Thank you so much.

I would like the code to center the username as well, please.
avatar
Miss-March
New Member

Posts : 9
Reputation : 1
Language : English

http://fairytailzero.forumotion.com/

Back to top Go down

Solved Re: Avatar and profile fields help (alignment and placing)

Post by Ange Tuteur on Mon Feb 15, 2016 8:14 am

Sure thing, add this rule to your stylesheet :
Code:
.pun .user-ident .username {
  position:static;
}

It should return the element to its natural position.
avatar
Ange Tuteur
Forumaster

Male Posts : 13175
Reputation : 2876
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Avatar and profile fields help (alignment and placing)

Post by Miss-March on Mon Feb 15, 2016 8:33 am

Thank you. It looks exactly like I wanted, now.
avatar
Miss-March
New Member

Posts : 9
Reputation : 1
Language : English

http://fairytailzero.forumotion.com/

Back to top Go down

Solved Re: Avatar and profile fields help (alignment and placing)

Post by Ange Tuteur on Mon Feb 15, 2016 8:36 am

You're welcome ! ^^

Topic archived

Have a good day. Smile
avatar
Ange Tuteur
Forumaster

Male Posts : 13175
Reputation : 2876
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.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