Forum:Colored Comments for Admins

On the iCarly Wiki there are colored comments for Admins and I wanted to know how to do it on my wiki. The Victorious Wiki. Thanks. ~Ciria~ ♥Run it back with original flavor♥  ◘I'm so starstruck◘  22:30, November 19, 2011 (UTC)

Add this to MediaWiki:Wikia.css on your wiki: .comments li[data-user="username"] blockquote { background: #color !important; } .comments li[data-user="Username"] blockquote:after { border-color: transparent #color #color transparent !important; } .comments li[data-user="Username"] blockquote div { background: transparent !important; }

Where username is the name of the admin and color is the color you want.--


 * Is that code only for one admin? ~Ciria~ ♥Run it back with original flavor♥  ◘I'm so starstruck◘  23:12, November 19, 2011 (UTC)


 * Yes, you need to repeat that for each Admin.--


 * Alright, thank you! ~Ciria~ ♥Run it back with original flavor♥  ◘I'm so starstruck◘  23:30, November 19, 2011 (UTC)


 * One more question, is there a way to change the text color? Some people want really dark comments and you can't really read the writing. ~Ciria~ ♥Run it back with original flavor♥  ◘I'm so starstruck◘  23:45, November 19, 2011 (UTC)
 * The color code or anything to the comment will have to have a code used in-order to change colors of the comments. Just like this for an example: Purple . Thats a simple way to make comments different colors.--TricklesTest 01:33, November 20, 2011 (UTC)
 * No, that is an extremely bad way to do it. First off, the font tag is deprecated and will soon not work any longer. Second, every comment the person makes would have to be wrapped in the tags. The code I provided above makes it so any comment made by the person will automatically be that color text.--
 * No, that is an extremely bad way to do it. First off, the font tag is deprecated and will soon not work any longer. Second, every comment the person makes would have to be wrapped in the tags. The code I provided above makes it so any comment made by the person will automatically be that color text.--


 * So, there's another thing I need to know. On the iCarly Wiki, Admins have text on their colored comments with "@Admins" on it. Since on the Victorious Wiki, we want to have colors for Rollbacks and Chat Mods, I want to know how to do the text. When I used their code, it highlighted green, so I think I'll need a different one. ~Ciria~ ♥Run it back with original flavor♥  ◘I'm so starstruck◘  23:08, November 21, 2011 (UTC)