Manual talk:Interface/Stylesheets

Seems not to work with 1.11.0
Hello, i recently found this function and i want my wiki to behave the way that depending on the namespace the background is different. I saw this in MediaWiki:Common.css, but when i add this to my Common.css nothing changes. by the way: any changes made in my Common.css or Common.js does not seem to have an effect. Can anyone help me please? Thanks, --TurboKanne 12:50, 19 February 2008 (UTC)

Broken CSS links
Common.css and skinname.css (e.g. Vector.css) don’t seem to exist. Common.css was moved to Gadget-site.css without redirect, so I changed that link, but where is the default CSS for the skins located? And do the User: stylesheets still work? —Frungi (talk) 07:58, 25 May 2013 (UTC)


 * Common.css was moved on mediawiki.org because Extension:Gadgets was installed, so users can disable the load of the now old Common.css on their preferences disabling the "Gadget-site", for testing purposes for example. But this stylesheet is still being loaded --Ciencia Al Poder (talk) 14:35, 9 June 2013 (UTC)

MediaWiki:Skinname.css only works for Vector.css / Solved
I am using MediaWiki 1.24.1. If I change "MediaWiki/Vector.css" to /** Hide sidebar **/ div#mw-panel { display: none; }  left: 0em; } div#content, div#footer { margin-left: 0em; } this works and the left navigation sidebar collapses. It does not work with cologneblue.css or modern.css or my custom skin. Off course I always purge the cache. In Localsettings.php I did declare: $wgUseSiteCss = true; Help would be much appreciated--Gogtl (talk) 12:51, 12 December 2015 (UTC).
 * 1) left-navigation {
 * 1) mw-head-base,


 * Other skins may have different IDs for sidebar. Have you checked that the ID is correct on those skins? --Ciencia Al Poder (talk) 16:23, 12 December 2015 (UTC)


 * Thank you so much Ciencia Al Poder, this is the answer for cologneblue and modern. And your answer led me to the solution for the custom skin. The custom css was named wrongly: MediaWiki:SkinName.css was not read, but MediaWiki:Skinname.css was used. Now everything is working properly! I am so grateful! Kind regards,--Gogtl (talk) 18:31, 12 December 2015 (UTC)