Jump to content

IPS - Having the same color for the avatar border and the player name


Cyn
 Share

Recommended Posts

Bumping this because I'm trying to do the same thing! To have my author info area custom for each group and I can't for the life of me figure it out! Help please!

Find me on my sites!
The Next Incantation :: The Last Island
Link to comment
Share on other sites

Without details the best I can suggest is the following:

 

Go to template forums > topics > postContainer

 

Find

<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone'>

Add the group ID variable ( {$comment->author()->member_group_id} ) to the class, with a word in front of the group ID variable. Example:

<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone group_{$comment->author()->member_group_id}'>

Then just target all the usual things with the help of the group class. Example:

 

.group_4 { border: 1px solid red }

 

In your case @Cyn you will be looking for mpfull, ie

 

<div class='mpfull group_{$comment->author()->member_group_id}'>

 

And then in css you can add the same thing I mentioned previously. If that doesn't work, try

.mpfull.group_4 { border-color: red }

Assuming your admin group is group 4, your border should become red. If say, you wanted to colour the text that is revealed by the hover by group, you would try this:

 

.mpfull.group_4 .f1 { color: red }

 

And the admin group should get red text.

 

Hope that helps!

  • Love 1

 

sig.png.30b42565d04d922988370bf14e1447bc.png

PSI: an Occult Investigations RP

Roleplay Architects: Grab a friend (or many friends!) and just write.

You can also find me at:

static-historicalrp.jpg  B8CB4x.png rpabutton.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.