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.

Center a User's Profile Display During Posts

View previous topic View next topic Go down

Solved Center a User's Profile Display During Posts

Post by Flame Melody on June 29th 2015, 1:50 am

Hello, I had opened a thread about this issue a while ago, (HERE) and I got the solution I needed. However, there was a slight problem that I had contacted a moderator about it - and indeed I was helped, but another small issue popped, so I was asked into making a new topic -. Basically, I wanted a coding to center a user's profile display during posts, because they were all aligned on the left; like this:

Spoiler:
Nevertheless, I got this coding to align it into the middle:

The Coding:

Code:
.post .postdetails.poster-profile, .post .name {
display:block;
text-align:center;
}


However, a new issue popped, there became a huge gap between the username and the rank:

Spoiler:
So I have PMed one of the moderators, and was proposed this code:

Spoiler:

Code:
.post .postdetails.poster-profile, .post .name + br {
display:none;
text-align:center;
}


However, a user's profile would become like this once I applied the coding:

Spoiler:

So I had to change { display:none } into { display:block } so it can work. But once I had applied that coding, this issue popped up: the username is now aligned on the LEFTwhile all other stuff (ranking, avatars, icons etc.) are aligned in the center:

Spoiler:
So now, my wish is to have the proper coding to align EVERYTHINGinto the middle, without having a gap between the username and the ranking whatsoever.



Last edited by Flame Melody on June 30th 2015, 11:25 am; edited 1 time in total

Flame Melody
Forumember

Female Posts : 92
Reputation : 3
Language : English
Location : 1313 Webfoot Walk, Duckberg

http://believixwinx.forum-motion.com

Back to top Go down

Solved Re: Center a User's Profile Display During Posts

Post by Ange Tuteur on June 29th 2015, 6:43 am

Hi @Flame Melody,

Replace this code :
Code:
.post .postdetails.poster-profile, .post .name + br {
  display:none;
  text-align:center;
}

with this :
Code:
.post .name + br { display:none }

That should fix the problem.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Center a User's Profile Display During Posts

Post by Flame Melody on June 29th 2015, 9:52 am

Hmm... that actually made it like this:
Spoiler:
Which isn't what I'm really looking for, I just want to center everything without any gaps between rankings, username, hobbies, location, post count etc. (basically everything).

Flame Melody
Forumember

Female Posts : 92
Reputation : 3
Language : English
Location : 1313 Webfoot Walk, Duckberg

http://believixwinx.forum-motion.com

Back to top Go down

Solved Re: Center a User's Profile Display During Posts

Post by Ange Tuteur on June 29th 2015, 7:31 pm

You'll need to re-add this in to center everything :
Code:
.post .postdetails.poster-profile, .post .name {
  display:block;
  text-align:center;
}

That should also put everything in its correct place.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Center a User's Profile Display During Posts

Post by Flame Melody on June 30th 2015, 11:24 am

Thank you, that worked perfectly~ *Hands a cookie*.

Flame Melody
Forumember

Female Posts : 92
Reputation : 3
Language : English
Location : 1313 Webfoot Walk, Duckberg

http://believixwinx.forum-motion.com

Back to top Go down

Solved Re: Center a User's Profile Display During Posts

Post by APE on July 1st 2015, 7:51 pm

Topic solved and archived




APE
Manager
Manager

Male Posts : 8614
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

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