O'Reilly logo

Drupal 6 Theming Cookbook by Karthik Kumar

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

Chapter 3. Custom Themes and Zen

We will be covering the following recipes in this chapter:

  • Clearing the theme registry
  • Creating a theme from scratch
  • Creating myzen, a Zen-based theme
  • Choosing a CSS layout for myzen
  • Overriding Zen template files with myzen
  • Adding a custom region to myzen
  • Adding a background image to the theme
  • Adding a conditional stylesheet in Zen
  • Modifying myzen's theme settings

Introduction

While, as detailed in the previous chapter, sub-themes of core and contributed themes are convenient and efficient in modifying and reusing elements of their base themes, circumstances often require a completely unique approach specific to our site. Custom themes are the solution for websites which demand a fresh look, using complex layouts, or need ...

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