Admin Forum:Skins and changing how headings look

I would like to change how different levels of headings look on my wiki. This seems like something that should be easy to do, probably involving css, but I can't find any info on how to do it. Also, I'm not sure what skin my wiki is using, how do I check this? Vito homid galliard 02:44, September 11, 2011 (UTC)


 * Headings can be changed through some css, some wikis use their own templated headings though. Youe wiki is using the Wikia skin, there is only one skin a wiki can use. Personally you can use Monobook though.--

Headings should go like this:

Cheers! 09:19, September 11, 2011 (UTC)


 * Cool. So does that go in common.css or wikia.css?  And what level heading will that modify, or do I need to do h1{stuff} h2{stuff} inside the .mw-headline braces?

Vito homid galliard 09:24, September 11, 2011 (UTC) Well the .mw-headline element is just for sectional headers, as I understand it. And if that's all you want to change, then you would just go: .mw-headline .h1 through to .mw-headline h6 and there ya go. But that would mean you're changing headlines only as they appear wherever mw-headline applies. Which isn't everwhere .h1 - .h6 gets used. If on the other hand you want to just define the .h1 through .h6 directly, you'd do:

If you take this second route, however, it means that you may have to individually style some instances of h1 - h6 where your standard isn't working. That said, if you take the first approach, you'd have to style some instances where you do want your main h1 - h6 styling to apply. It's a wash, really, in terms of work, but I think it's better to start with a universal standard and then change only where needed.

And, again, it's up to you where you put it. If you put it in common, that means that the styling will apply to monobook as well. This can save you some time if you're trying to administer your wiki in both skins. However, it does take a little longer for changes in common.css to filter through to actual display in the wikia skin, for reasons not particularly well understood. So if you put it in wikia.css, you'll get a snappier changeover to modifications, but the price is maintaining two separate headline styles. If you're going to totally ignore monobook development on your wiki, I'd say you should definitely put it in wikia.css. 18:04:16 Sun 11 Sep 2011

Thanks, that helps a lot! From what I can tell, the mw-headline tag is only useful for redefining headlines of all levels, or am missing something? It looks like I can just use .h1 through .h6 to customize the different headline levels. My goal, btw, is to change how =HEADING=, ==Heading==, etc. are displayed. My wiki is darkeclipse.wikia.com, and the css is at http://darkeclipse.wikia.com/wiki/MediaWiki:Wikia.css Vito homid galliard 18:44, September 11, 2011 (UTC)