A theme is a collection of files that define the presentation layer. You can also create one or more "sub-themes" or variations on a theme.
The .info file is a static text file for defining and configuring a theme. Each line in the .info file is a key-value pair with the key on
The following are the assumed defaults. When they are not defined, the theme will automatically take these values.
If none are defined, the following values are assumed in Drupal 6.
While theming page.tpl.php it's possible to check to see whether a region is empty, by checking the content of the relevant variable which
Various page elements output by the theme can be toggled on and off on the theme's configuration page.
Next to List, select configure. This will show the global theme settings option where you can toggle the display of features supported by
Color.module allows the admin to change the color scheme of a theme. By selecting a palette of colors (either from a set or by hand), you
Sub-themes are just like any other theme, with one difference: They inherit the parent theme's resources. There are no limits on the
The contents of the .info file is cached in the database, so altering it will not be noticed by Drupal. Also if you add new tpl.php files or
In the previous section, we understood how a sub theme is created along with inheritance of various properties. The table summarises
Let's say you want to use Garland as your base theme, but want to be able to make CSS tweaks to it and want to keep the Color module
Working with CSS in Drupal 7.
You will often need a newer version of jQuery to use a certain jQuery plugin. There are several ways to achieve this.
Core comes with a number of default template files. You can override these templates in a number of ways.
A theme hook suggestion is an alternate template (.tpl.php) file that you have created to override the base or original template file.
Theming blocks in Drupal 7 individually, by region, or by module.
Advanced theming in Drupal 7.
Overriding themable output in Drupal 7.
This guide provides a guide to accessibility best practices for theme developers.
Theming HowTos for Drupal 7.
Best practices and conventions for theming Drupal 7.
NOTE: We are now using a different system to track version-to-version changes in Drupal. Most of the theme changes between Drupal 6 and