Drupal Zen Theme

From Colettapedia
Jump to: navigation, search

Step 1. Create sub theme

  1. Copy the sites/all/themes/zen/STARTERKIT folder and rename it as sites/all/themes/foo.
  2. In your new sub-theme folder, rename the STARTERKIT.info file to the name of your new sub-theme. Then edit the .info file by changing any occurrence of STARTERKIT with the name of your sub-theme and editing the name and description field.
  3. If you want a liquid layout for your theme, copy the layout-liquid.css from the zen/zen folder and place it in your sub-theme's folder. If you want a fixed-width layout for your theme, copy the layout-fixed.css from the zen/zen folder and place it in your sub-theme's folder. Rename the layout stylesheet to "layout.css".
  4. Copy the print stylesheet from the zen folder and place it in your sub-theme's folder.
  5. Copy the zen stylesheet from the zen folder and place it in your sub-theme's folder. Rename it to be the name of your sub-theme.
  6. Edit the template.php and theme-settings.php files in your sub-theme's folder; replace ALL occurrences of "STARTERKIT" with the name of your sub-theme.