Thank! Both works
On 2/24/07, Ilmari Karonen nospam@vyznev.net wrote:
Liang Chen wrote:
Hi, I don't want to display the title of the page on main page, like wikipedia's main page, how can I do that?
You can edit [[MediaWiki:Monobook.css]] and add a rule like:
BODY.page-Main_Page H1.firstHeading { display: none; }
This should hide the main page title on the (default) Monobook skin. For other skins, you'll need to add similar rules to their corresponding style sheets.
Of course, if your main page is named something other than "Main Page", you'll have to change the "page-Main_Page" part to match the correct title. You can look in the page source to see what the actual class name is.
-- Ilmari Karonen
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l