In this tutorial, we will create a sub-theme of the Garland theme.
name = Mysubtheme description = A tutorial showing how to create a sub theme. core = 6.x engine = phptemplate
base theme = garland
stylesheets[all][] = AtLeastOne.css
In general, your sub-theme will inherit pretty much everything of the parent's theme(e.g. stylesheets, javascripts, Template.php, *.tpl.php, etc) and you will be able to override them too. For more details, see Sub-theme structure and inheritance.
Click on the mySubTheme.zip to dowload the complete theme of this tutorial.
| Attachment | Size |
|---|---|
| Mysubtheme.zip | 507 bytes |
Comments
Where are some great base themes
by the way - where are some great base themes such as Zen, AdaptiveTheme, which even include a pattern subtheme -
folder that you can copy and rename to have your new subtheme with lots of additional settings, very convenient!
All themes can be found at
All themes can be found at http://drupal.org/project/Themes .
http://drupal.org/project/zen
http://drupal.org/project/adaptivetheme