How to make basic changes to mediawiki skins
In this article we'll show you the basics on how you can get started with editing skins in mediawiki.
To edit the look and feel of the your mediawiki, you'll need to edit the css file of the current skin you're using. In this example, we'll edit the monobook theme, which is the default theme. The CSS file can be updated by going to the MediaWiki:Common.css CCS location in MediaWiki. You can visit it by go to the similar url below.
How do I change the width of the entire page and center it?
margin: 0; padding: 0;}
If you want the content of the page to take up 900px and be centered on the screen, make the following adjustments:
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
2013-02-24 2:36 pm
This is [u]NOT[/u] the right way to make changes to mediawiki skins. You should either create a custom skin or make changes to the MediaWiki page MediaWiki:Common.css. The latter is preferred. Changes to main.css are both wrong headed changes to core and will be overwritten by upgrades!
Normal CSS changes should be made in the Common.css, if you want to change a single skin, you make the changes in, for example, MediaWiki:Monobook.css, NOT the monobook file. If you want to design an entirely new skin then you may be creating a new main.css as part of the process but you need to keep this completely separate from the css files that are part of the standard skins.
2013-02-25 11:15 am
Thank yo for pointing that out BewareofDoug!
I updated the article and will have another article explaining what you said in depth. Thanks for the feedback.