royal
04-03-2012, 03:47 AM
Hi,
In this tutorial I’ll explain how to do the same thing, except this time we don’t use conditional tags. However this approach is limited only to page types that are represented by the pageType data tag, namely index, post, archive and static pages.
Here we go,
1. Assign class to body element
2. Adding CSS rules
In this tutorial I’ll explain how to do the same thing, except this time we don’t use conditional tags. However this approach is limited only to page types that are represented by the pageType data tag, namely index, post, archive and static pages.
Here we go,
1. Assign class to body element
2. Adding CSS rules