Is it possible to hide things on the sidebar?
this wiki
Forum page
To contact staff directly or to report bugs, please use Special:Contact.
I was wondering is it possible to hide i.e the "Languages" panel on the sidebar using css. If so - how to do that?
Jamjumetley 21:04, 30 July 2008 (UTC)
.WidgetLanguages { display: none; }
—This unsigned comment is by Uberfuzzy (wall • contribs) . Please sign your posts with ~~~~!
- Don't forget that this should never be done in the site wide CSS unless there's a community consensus about it. And in the case there's no community, consensus can't be obtained. — TulipVorlax 23:41, 30 July 2008 (UTC)
- Thanks but I have already tried that one - doesn't work...
- Jamjumetley 14:15, 5 August 2008 (UTC)
I tried cleaning the cache and everything stays the same... Jamjumetley 21:28, 7 August 2008 (UTC)
It's here: http://gerryanderson.wikia.com/wiki/MediaWiki:Monaco.css Right now it's just a big mess but I'm going to clean it up a bit later.
Jamjumetley 18:15, 8 August 2008 (UTC)
- Here is the HTML of the language widget :
<dl class="widget WidgetLanguages" id="103_wg"> <dt class="color1 widget_title" id="103_header"> <div class="widgetToolbox"></div> Languages</dt> <dd class="shadow widget_contents" id="103_content"> <select onChange="WidgetLanguagesHandleRedirect(this);"> <option value="0">English</option></select></dd></dl>
- As we can see, the language widget is in both the widget class and the WidgetLanguages class but also it has the ID 103_wg. So, the CSS rule given by Uberfuzzy should work. Can you add it back so i see if it work for me ? — TulipVorlax 01:46, 9 August 2008 (UTC)
- I'm afraid, you was falling into an error from not closed
<div class="community_details color2">. This stays some lines before the code you printed. - What is your browser? In Firefox2 it is working, I have tested localy. Firefox is more error resistant than others. - Wikia, please close the div! --HenryNe 05:34, 9 August 2008 (UTC)
- I'm afraid, you was falling into an error from not closed
Ok - when I'm logged I can move the Languages widget above the community widget. Then I add the css code to hide it and after refresh there's no sign of it! Thank you all. BTW - Do I understand correctly? There's no way to hide the community widget then? ;)
Jamjumetley 12:29, 9 August 2008 (UTC)
- Did you tried :
.WidgetCommunity { display: none; }
Hello Jamjumetley, WidgetLanguages can disable now. Also, if it hangs under the Community box. Wikia has updated the skin. --HenryNe 19:07, 20 August 2008 (UTC)