Different Styling For Different Page Type

Go down

Different Styling For Different Page Type

Post  royal on Tue Apr 03, 2012 11:27 pm

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

Find Properties to Buy, Rent, Lease in India - infradoctor.com
Hire Drupal & Joomla Web Developer at moonmicrosystem.com/joomla.html
Search Cheapest Travel Packages On- mytravelo.com/how-its-work.html

Posts : 2872
Join date : 2010-06-21
Age : 33
Location : Jaipur


Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum