FANDOM


CustomChatStars is a simple bit of CSS that allows you to change the chat stars for individual moderators/administrators in chat.

Implementation

Place the following code in either MediaWiki:Chat.css or Special:MyPage/chat.css:

/*Custom Chat Stars*/
 
/*Removes current default star, and replaces with old one*/
 
.User.chat-mod .username:after {
	content: url("http://images2.wikia.nocookie.net/monchbox/images/6/6b/Icon-chatmod.png");
	background-image: none;
	margin-left: -2px;
}
 
/* This modifies the star next to the mod/admin's username */
 
#WikiaPage > .Chat li[data-user="Username"] .modicon {
	content: url("http://images2.wikia.nocookie.net/monchbox/images/6/6b/Icon-chatmod.png");
	background-image: none;
	margin-left: -2px;
	width: 16px;
	height: 16px;
}
 
/* This modifies the star on the chat rail */
 
.Rail #user-Username .username:after,
.Rail #priv-user-Username .username:after {
	content: url("http://images2.wikia.nocookie.net/monchbox/images/6/6b/Icon-chatmod.png");
	float: right;
	width: 16px;
	height: 16px;
}
  • Replace "Username" with the mod/admin's username (using underscores instead of spaces on the rail) and the urls with a link to the star you want.
  • In order to only make the star show up on the rail and not the private message box for other users, remove .Rail #priv-user-Username .username:after from the CSS.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.