O'Reilly logo

Drupal 7 Cookbook by Dylan James

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a new theme using Zen

In this recipe, we will be creating a sub-theme that inherits from the Zen theme. This is a very popular technique that dramatically reduces the time needed to build a theme as most of the groundwork is already done for you.

Getting ready

For this recipe you will need FTP access to your site and an FTP client if you are not working from localhost.

How to do it...

We start by installing and enabling the Zen theme. Once installed, we will create the sub-theme using the STARTERKIT provided by the Zen theme. Finally, we will configure and enable the new theme.

  1. Go to the Zen project page: http://drupal.org/project/zen.
  2. Copy the tar.gz URL of the latest Recommended release of the Zen theme:
  3. Go to your Drupal site and select ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required