Jump to content

Authorpane per group?

Featured Replies

Posted

I was wondering how to create a different colour set depending on what group someone is in. So say member group 3, the user photo has a border that's blue but people in group 5 have a border of red, etc. Would this require a script or can I edit the html and css to do this?

IPS4

 

Example: https://codepen.io/ShadowLycan/pen/wOpLjX?editors=1100

 

 

Edited by Lycanth

2 hours ago, Lycanth said:

I was wondering how to create a different colour set depending on what group someone is in. So say member group 3, the user photo has a border that's blue but people in group 5 have a border of red, etc. Would this require a script or can I edit the html and css to do this?

IPS4

 

Example: https://codepen.io/ShadowLycan/pen/wOpLjX?editors=1100

 

 

You need edit the html template and add CSS unless get some make you plugin what would be better.

  • Author

I understand the html and css, as above, but unsure what code needs to be changed to make the authorpane look for the specific class to change the colour accordingly. Will it need a 'if' statement?

Edited by Lycanth

  • 4 weeks later...
  • Author

Anyone?

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.