Drupal 6 Zen Subtheme - Basic
Posted by Ishmael Sanchez on May 6, 2009
Zen is a great starter theme for Drupal. Below are steps to get your zen sub-theme set up.
- Visit http://drupal.org/project/zen and download the current version
- Unzip the files and place in your themes directory (ex.
sites/all/themes) - Copy the entire starterkit folder and paste it outside the current zen folder
- Rename the actual folder (ex. mytheme), and the info file. Only lower case and underscores
- Edit the info file by changing the name and description and save the file. This will help you tell the difference between your theme and the starterkit on the themes admin page
- Open the
template.phpfile and do a search and replace of "STARTERKIT" with your theme name (ex. mytheme). Save and close the file - Same as step 6 just with the
theme-settings.phpfile. Open thetheme-settings.phpfile and do a search and replace - Open the actual zen folder located at
zen/zen/ - Copy the
html-elements.cssandprint.cssfiles and paste into your sub theme folder - Go back to the
zen/zen/folder and copy thezen.css. Paste the file into your sub theme folder and rename it as your theme name (ex.mytheme.css) - Browse to
zen/zen/and decide if you want to use a fixed or liquid layout and copy the appropriate file. Paste the file into your folder and rename tolayout.css - Go to
admin/build/themesfind your theme name and enable your theme. You are now ready to create your sub theme - See Drupal 6 Zen Subtheme - Advanced for more



Comments
thanks comment posted on Mar 11, 2010
I had tried a few drupal Zen theme how-to and was becoming frustrated, thanks for your clear & concise efforts. I got it working first time thru your help.
Your Zen Sub Theme how to is much better comment posted on Feb 22, 2010
Your Zen Sub Theme how to is much better than the official README, I suppose open source most often fails in it's "user friendly" documentation.
Here! Here! Kudos on great instructions! comment posted on Feb 18, 2010
Why can't all tutorials be this clear and concise!
Thank you so much!
Thank You! comment posted on Jan 7, 2010
I toyed around with the official docs and ended up with a mess. Your straight forward steps saved me hours of work (and possibly an abandonment of Drupal itself).
Leave a comment or suggestion...