Skip navigation

Thematic is a pretty cool theme development framework for WordPress although I believe it can be improved.

One great thing about thematic is the ability to create css based on the template file.

For example, the single.php template will include the css class ‘single’ in the body classes of the html:


<body class="... ... single ...">

The dog-page-template.php, a custom page template will include:


<body class="... ... dog-page-template ...">

So if you want to customize any links for those specific pages you simply place:


body.single a {}
body.dog-page-template a {}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: