Help:Community CSS and JS

Community CSS and JavaScript allows local administrators to customize how Wikia looks and behaves for anyone visiting their community, beyond the abilities provided by the Theme Designer.

If you plan on doing this, please be aware of Wikia's policy on allowed customizations and the. Note that CSS and JS customizations are not generally applied to the mobile skin.

CSS
To customize your community's CSS, simply edit MediaWiki:Wikia.css. This will send you to Special:CSS, allowing you to tweak your community's design. You can also access this page from the Admin Dashboard.

Each week we release notes on upcoming changes that might affect your community's customizations: Technical Update blog posts.

The Community Central Designing Your Wikia forum board is a great place to get help from other users, if needed. See also to learn more about custom community CSS.

Note: if you want to target the Monobook skin, edit MediaWiki:Monobook.css.

Common.css

 * On all wikias created after July 2014
 * MediaWiki:Common.css is loaded for the main Wikia skin and Monobook. The contents will be applied before MediaWiki:Wikia.css and MediaWiki:Monobook.css. For most communities this doesn't matter, but if you use  rules (like for importing custom fonts), it is best they are added to the top of MediaWiki:Common.css.


 * On most wikias created before July 2014
 * MediaWiki:Common.css is loaded for the Monobook skin but not the main Wikia skin. If you want to use MediaWiki:Common.css to create rules for both the Wikia and Monobook skins, ask Wikia Staff to enable this. If you do so, make sure to clean up any old CSS in MediaWiki:Common.css beforehand, otherwise it may cause unexpected effects.

JavaScript
To customize your community's JS, simply edit MediaWiki:Common.js. This code will be loaded for all visitors to your community.

Notes:
 * Editing of JS pages is temporarily disabled while Wikia performs a wide-ranging security review - however, a new process for approving community JS edits is currently being tested: see Help:JavaScript review process. Check Wikia's for updates.
 * JS errors can break basic functionality on your community - please be careful to avoid introducing errors.
 * Please do not include JS that you do not understand, nor import from sources that you do not fully trust.
 * Do not import JS from personal JS pages, or from unsecure pages.
 * If you want to target a specific skin, edit MediaWiki:Wikia.js for the default skin, and MediaWiki:Monobook.js for the Monobook skin.

Further help and feedback
de:Hilfe:CSS und JS einer Community fr:Aide:CSS et JS de la communauté es:Ayuda:CSS_y_JS_comunitario pl:Pomoc:CSS_i_JS_społeczności ja:ヘルプ:コミュニティのCSSとJavaScript fi:Ohje:Yhteisön CSS ja JavaScript zh:Help:社區CSS與JS pt:Ajuda:CSS_e_JS_locais