You are viewing an old version of this page. Return to the latest version.
No categories assigned
BlueSpiceNamespaceCSS
-
- Last edited 4 years ago by MLR
-
< Manual:Extension
Revision as of 10:50, 10 July 2020 by Mlink-rodrigue (talk | contribs) (Text replacement - "Reference:BlueSpiceNamespaceCss" to "Reference:BlueSpiceNamespaceCSS")
What is NamespaceCss?
NamespaceCSS allows users to use different CSS styles for different namespaces. This can be very useful to e.g. distinguish between different manuals or parts of your wiki.
How does NamespaceCss work?
For each namespace you want to define your own CSS for, you have to create a page in the MediaWiki namespace, using the following template:
MediaWiki:NamespaceName_css
You can now enter your desired CSS-code directly into this page.
Example: MediaWiki:User_css
affects all pages in the namespace User.
Please note: The Special namespace is an exception, as you cannot define a separate CSS for it.
Hint
Make sure that the following code is part of every MediaWiki:NamespaceName_css
page to ensure that the CSS registers properly. Otherwise the VisualEditor might discard your notations:
/* __NOEDITOR__ */