Wikia

Community Central

Admin Forum:CSS for individual pages outside of main namespace

Talk0
92,251pages on
this wiki

This Forum has been archived

Forums: Admin Central Index Technical Help CSS for individual pages outside of main namespace
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 565 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

I've been trying for over an hour to define a CSS style for a page outside the main namespace. But I can't quite figure out the nomenclature. For instance, I'm trying to change the pre style of only MediaWiki:Wikia.css. The basic form for page styling is well understood:

body.page-whatever element { style }

This will successfully apply sstyle to the element on the page called whatever only.

But I can't seem to figure out how to successfully refer to Wikia.css. I've tried:

body.page-MediaWiki:Wikia.css
body.page-Wikia.css
body.page-NS-8:Wikia.css
body.page-ns-8:Wikia.css
body.page-ns_8:wikia.css
...
and lot of other varitions in between

None of it seems to work. Anybody got any cues on the right way to refer to a MediaWiki (or any other non-main namespace) page? czechout@Wikia    fly tardis  <span style="">04:06: Thu 17 May 2012 

Never mind. Figured it out. It's all underscores. So .page-MediaWiki_Wikia_css czechout@Wikia    fly tardis  <span style="">04:24: Thu 17 May 2012 

Around Wikia's network

Random Wiki