Forum:Heading 2 Color

Hello,

I was wondering if you can change the color of the Heading 2 bar, like the 9 Lives of Chole King wiki, and how.

I want to change it for my wiki. Thanks, The Dark Tiger 18:48, August 21, 2011 (UTC)

The little line like this. Some wikis have it colored.

 * Where can this be found inside the layout? The header or the rail? Cheers, TK  999  20:02, August 21, 2011 (UTC)

Well, if you want to do it broadly, for every page on the wiki, just add this to your common.css .h2 {color:#xxxyyy!important} This will take care of most instances. There may be some instances where that won't override things, but it'll do most of 'em. 01:43:03 Mon 22 Aug 2011

Okay, thanks. What's the mediawiki page I have to add it on? 11:22, August 22, 2011 (UTC)
 * MediaWiki:Common.css. The code should be like this:

If you want headlines of other sizes to be colored, change h2 to h1 or anything else. If you want to have all of them colored, remove the h2 and leave only the mw-headline. Cheers! TK 999  11:33, August 22, 2011 (UTC)

Does it only work with color codes or with color names too? Does it take time and I need to clear my cache? It doesn't seem to be working yet. http://wolvesofmercyfalls.wikia.com/wiki/MediaWiki:Common.css. The Dark Tiger 21:14, August 22, 2011 (UTC)
 * It works for with color names, too. See here. You will need to follow the instructions on the top of your page to purge your cache. And try it like this:

Cheers! TK 999  09:57, August 23, 2011 (UTC)


 * On that same note, if you want to change the line underneath it as well it's handled with:

h2 { border-bottom: 1px solid ; }
 * Rappy 19:28, August 23, 2011 (UTC)