
bigreat at gmail
Feb 24, 2007, 6:38 AM
Post #5 of 5
(472 views)
Permalink
|
|
Re: How to not display title of one page, like Main Page
[In reply to]
|
|
Thank! Both works On 2/24/07, Ilmari Karonen <nospam [at] vyznev> 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 [at] lists > http://lists.wikimedia.org/mailman/listinfo/wikitech-l > -- ---BiGreat--- www.Liang-Chen.com _______________________________________________ Wikitech-l mailing list Wikitech-l [at] lists http://lists.wikimedia.org/mailman/listinfo/wikitech-l
|