css for each category

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
Seiduna
Rank 0
Rank 0
Posts: 1
Joined: April 4th, 2011, 11:19 pm

css for each category

Post by Seiduna »

Hello,

I have a question that I haven't found the answer, and this is one of the rare mediawiki forums that I found, so...
here is my question:

I want to use categories in mediawiki and I will have a bunch or pages that belong to those categories.
(I made my own skin using one of many web tutorials)

I want to have a different css for each category (and all its pages)
So when someone is browsing the pages in one category h1 should be e.g. red colour on white background,
and when someone goes to second category (and all its pages) h1 should be e.g. blue on white.

To give a different example,
I want category foo and all its pages (members) to have their own h1(e.g. red colour on white background)
and category bar and all its pages (members) to have their own h1 (e.g. blue on white)

Also I am newbie to mediawiki and English is not my native language...

Thank you ever so much.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: css for each category

Post by Paul »

You need to find category related tags for each category and put them in CSS...
Post Reply