Recent Tutorials
Who is online?
In total there are 9 users online :: 0 Registered, 0 Hidden and 9 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17
Keywords

[EDGE STYLING] Center icons in the memberlist

View previous topic View next topic Go down

avatar
Guest
Guest
View all awards

PostGuest on Sat 26 Nov 2016, 08:26

Should be something simple, but I just can't figure out what elements are involved. We'd like these icons centered relative to the columns they're sitting in and not see them aligned left...




And... PM (Personal Message) should be PB (Persoonlijk Bericht) actually in Dutch.


Thanks in advance for your help.


Last edited by Samantha NL on Mon 28 Nov 2016, 13:45; edited 1 time in total
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4652
Points : 9634
Reputation : 2327
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 28 Nov 2016, 12:27

Try adding these CSS rules to your stylesheet :
Code:
#memberlist .avatar-mini + td + td + td + td + td, /* PM */
#memberlist .avatar-mini + td + td + td + td + td + td /* Website */ {
  text-align:center;
}

/* rename PM */
#memberlist th.pm { font-size:0; }
#memberlist th.pm:after {
  font-size:14px;
  content:"PB";
}

First one ( which is kinda ugly ) centers PM and website, the second one renames the PM title. Not sure if the chosen forum language changes it or not, but if it doesn't, this'll do the trick.
avatar
Guest
Guest
View all awards

PostGuest on Mon 28 Nov 2016, 13:43

Yep, that did the trick alright! TYVM! Smile


Before adding your CSS:




After:




I think you should put it in an Edge update Wink


And, no, when changing the language to Dutch it doesn't change to PB. I figure someone forgot to translate that one Think
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4652
Points : 9634
Reputation : 2327
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 29 Nov 2016, 10:45

You're welcome. Smile

Topic archived

Ah I thought so. I guess some did forget to translate it. Razz

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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