Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Lycanth Posted March 14, 2019 Posted March 14, 2019 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
Pete T Posted March 14, 2019 Posted March 14, 2019 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.
Lycanth Posted March 15, 2019 Author Posted March 15, 2019 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?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.