CSS definition only for home page

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
Modeling Wiki
Rank 0
Rank 0
Posts: 1
Joined: July 22nd, 2010, 5:42 pm

CSS definition only for home page

Post by Modeling Wiki »

Great skin.

I want to design a set of css instructions that only executes for the home page. For example, I want a bigger header, a background image, etc. Once the user navigates away from the home page, I want to use my standard css. How can I do this, I know you can set conditions based on browsers but what about just the home page?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: CSS definition only for home page

Post by Paul »

You could, check the bldy tag:

<body class="mediawiki ltr ns-0 ns-subject page-Home skin-gumax">

So add page class in front of tag that you want to change..........
Post Reply