Please join us for a hands on session on building a subtheme
We will begin with improving usability of Rubik theme by adding some colors from and continue with discussion on subtheming for Stanford Modern.
Notes from the session:
- css can be overwritten via css injector module
- css and other new features can be added via subtheme (example: Stanford Modern Drupal Custom Sub Theme package.)
Css injector module
- add CSS Injector module to your site
- add rules under css injector configuration
Subtheme
Subtheme requires at lease the following files:
- name_of_subtheme.info
- screenshot.png
- logo.png
- name_of_subtheme.css
custom_theme.info should contain
name = Stanford Custombase theme = stanford ( this will require that base theme is present and will allow to inherit all properties of base theme)description = Custom sub-theme based on the "Stanford" base theme.version = 6.x-1.2 (version of subtheme)core = 6.xengine = phptemplatestylesheets[all][] = name_of_subtheme.css
regions[footer] = Footer (optional)features[] = logo (optional)