I used Platonides' method on my site to change the logo for certain
name spaces. In my Mediawiki:Common.css page:
----------------------------------------------------------------------------
/* Use the Meshi Logo for the Meshi & Meshi-talk name spaces (roman
2009/8/25) */
.ns-100 #p-logo a {
background-image: url(http://ezrat.jct.ac.il/images/meshi_logo.png)
!important;
}
.ns-101 #p-logo a {
background-image: url(http://ezrat.jct.ac.il/images/meshi_logo.png)
!important;
}
----------------------------------------------------------------------------
I got this answer on this mailing list some time ago. Don't remember
from whom.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Haim (Howard) Roman
Computer Center, Jerusalem College of Technology
Phone: 052-8-592-599 (6022 from within Machon Lev)
On Thu, Jan 21, 2010 at 02:53, Platonides <[email protected]> wrote:
>
> Jim Tittsler wrote:
> > Is there a standard way of customizing the appearance of one of my
> > custom namespaces (and its associated talk namespace)? I would like
> > to change the logo, and ideally override the user's preferred skin (or
> > at least have some additional CSS added) when in this custom namespace.
>
> Suppose that namespace is the number 100. Then you can set rules for
> class ns-100 which will only apply on that namespace (class ns-101 for
> its talk).
> You can use a CSS rule to change the logo, too.
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l