body.page-Home #Anonnotice {
display:none;
}
Should work
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Derrick
Farnell
Sent: 13 February 2009 09:09
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] remove sitenotice from main page only?
Thanks! It doesn't seem to work, though. It's actually the Anonnotice,
and the main page is called Home, but it doesn't work whether I use Home
or Main_page:
http://www.chainsofreason.org/wiki/MediaWiki:Monobook.css
I've tried doing a hard refresh.
Should the code perhaps be added to this file instead:
http://www.chainsofreason.org/wiki/MediaWiki:Common.css
If so, how should I amend the existing code?
Derrick
On Fri, Feb 13, 2009 at 8:55 AM, ekompute <ekompute(a)gmail.com> wrote:
Hi Derrick,
Type: body.page-Main_Page #siteNotice,
in Monobook.css. The command is similar to the rest of /* Don't
display some stuff on the main page */ that you find at the top of
that page.
PM Poon
On Fri, Feb 13, 2009 at 4:00 PM, Derrick Farnell
<derrick.farnell(a)gmail.com>wrote;wrote:
Hi
I'd like a sitenotice to appear on all pages but the main page - is
this possible?
Thanks in advance
Derrick
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l