Chapter 9. Creating Regular, Mobile, and Tablet Themes

In this chapter we will cover:

  • Creating a new theme using Zen
  • Overriding HTML output of a content type
  • Creating a "bare-bones" theme from scratch
  • Using the Mobile tools module
  • Installing an off-the-shelf mobile and tablet theme
  • Configuring theme compression and caching

Introduction

We begin this chapter with a recipe on using the highly popular Zen starter theme, which takes much of the pain out of Drupal theme development as it does much of the theme developer's groundwork, allowing you to jump straight in. After seeing how to create a Zen sub-theme we then look at how we can override the HTML output of a content type by creating template files within the theme. We then have a recipe on creating ...

Get Drupal 7 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.