Theme is overwriting colors of usergroups - Help please :)

Started by ddc, August 21, 2016, 06:44:09 AM

Previous topic - Next topic

ddc

Hey there, using SMF 2.11

Is there a way to alter the index.css of a theme, so the forums don't overwrite usergroup colors with the theme's colors?


In a theme I am using, do I need to comment out the color lines of
.poster h4, .poster h4 a
color: #78A8C1;


.user_info hxxp:span.name [nonactive] a
color: rgba( 120, 168, 193, 0.8 )


Or will that have no effect because the color of users is set by the global color setting of links:
a:link, a:visited

I don't want to change the colors of any other links though, like Forum/Subforum links. I was just hoping the forums would differentiate the color classes between a link to a thread/setting and a user.

Brainfart idea of what I want to achieve:
.poster h4, .poster h4 a
color: {class_usergroup_color}



Thank you

ddc

After doing some research, BoardIndextemplate.php handles the colors of  "users online list" with 'show_group_key'. Not sure if that can be inserted as a class that is read by the index.css stylesheet of a theme.

Additionally, a:link, a:visited takes priority over the color of .poster h4, so changes to that color do not achieve anything.

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ddc

Oh boy, thanks ! :D does it take the colors from the "color in online list"?

Nvm, it works. Thank you so much!


Advertisement: