The right CSS classes can give you exactly what you need to laser-focus the look and feel of certain pages on your site. A lot of those classes are built in already, like a handy class added to the body tag for different content types. But, what happens when you really need a class like that for something else, like highlighting content created in the last two weeks, or various other whimsical criteria? No problem. In this week, we show you how to easily add conditional classes at the body, page and node levels.
We also continue last week's theme of overriding existing output by demonstrating how to find and override theme functions (check out this free video). Finally, we wrap up this week's new videos with a review of the latest chapter in Drupal Theming Essentials.
Next week we get into some fun stuff, starting with an in-depth look on what each of the default theme settings mean, how to completely uninstall a theme, and how to add your own custom setting.
Below is a list of the new videos for this week. Enjoy!
- How to override a theme function (FREE video)
- Theme function override examples
- How to conditionally add CSS classes to the body, page and node wrapper tags for easier styling
- A practical example of adding a conditional body class
- Review of template files and theme function chapter, and next steps









