Skip to content Skip to navigation

How to build a subtheme

June 12, 2012 - 5:00pm
Location: 
Stanford Law School, rm 230, second floor

 

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 injector module

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)