During some other discussion thread I made a passing remark that the category pages were not attractive to end-users. Someone, I'm sure, said that it was possible to change the look of category pages - but I can't find the original message. What I'd like to do is to have the category pages have the same appearance as content pages.
Could someone kindly point me to suitable reading? Googling hasn't provided an answer so far, but then I probably didn't use the best search terms.
Anne
In every category page, the <body> tag contains the class "ns-14" (for namespace #14).
<body class="mediawiki ltr ns-14 ...">
You can leverage this to change the look of category pages only using CSS; for example,
body.ns-14 #content { background-color: red; /* or whatever */ }
DanB
On Friday 11 December 2009 19:55:40 Daniel Barrett wrote:
In every category page, the <body> tag contains the class "ns-14" (for namespace #14).
<body class="mediawiki ltr ns-14 ...">
You can leverage this to change the look of category pages only using CSS; for example,
body.ns-14 #content { background-color: red; /* or whatever */ }
Thanks, Dan. I'll pass that on to my php buddy :-)
Anne
mediawiki-l@lists.wikimedia.org