How do I make the admin comments colored like the staff on Central wikia?
So what's the code for this?
You can use code like this (add it to your MediaWiki:Wikia.css page on your wiki!)
/* Admin comment hilite */ .comments li[data-user="admin name 1"] blockquote, .comments li[data-user="admin name 2"] blockquote, .comments li[data-user="admin name 3"] blockquote { background:#A1CAF1 !important; } .comments li[data-user="admin name 1"] blockquote:after, .comments li[data-user="admin name 1"] blockquote:after, .comments li[data-user="admin name 1"] blockquote:after { border-color: transparent #A1CAF1 #A1CAF1 transparent !important; } .comments li[data-user="admin name 1"] blockquote div, .comments li[data-user="admin name 2"] blockquote div, .comments li[data-user="admin name 3"] blockquote div { background: transparent #A1CAF1 !important; }
Notice that there's 3 lists in the code. For every admin who's comments you want to be highlighted, you have to add their name in the 3 lists (where it says "admin name 1", "admin name 2" etc.)
Take special note of where the commas are. Notice that the last line must not have a comma, but all the other ones need a comma.
If you want to change what the actual color is, change the #A1CAF1
code to any other color (you can find more info on this page: Help:Color)