You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're right - it seems to insert the custom CSS earlier in the forum.css file than the package's CSS. Fortunately you can use CSS rules to make it work: in your selector, change .people-list to #people-list and it should work. Explanation follows:
... then CSS like .bbb .ccc { color: pink; } will change the colour of the text as you expect. But if, later on, some other CSS says .bbb .ccc { color: yellow; } then your changes will be overridden.
However, CSS doesn't just follow a "last rule wins" algorithm. You can specify an element more than one way, and different ways have difference precedence. In particular, an ID ranks higher than a class, so if your earlier CSS said #aaa .ccc { color: pink; } then the later rule would not override it.
Other ways to increase precedence include adding more levels (body .bbb .ccc { ... }), specifying elements more exactly (.bbb .ccc.ddd.eee { ... } -- note the spacing there!) or as a last resort, using the !important modifier, which I recommend against because it makes debugging harder.
I have been trying to change the colour of the active username for a converstion, It doesnt seem to change it.
The text was updated successfully, but these errors were encountered: