Subtheming with 960.gs (ninesixty)

posted in:

I've done subthemes before, but never so quickly as when using Drupal's ninesixty contrib theme last night. Here are a few quickstart pointers for other folks who think README.txt is always optional.

My .info file looks like this:

;

name = brianfending (subtheme of 960 Grid System)

description = Custom subtheme inheriting all of the awesomeness of 960.gs theme

core = 6.x

engine = phptemplate

; Subtheme specific styles.

stylesheets[all][] = styles/brianfending.css

; Get rid of the debug stylesheet loading by referencing it in 

; the subtheme *without* having the file there... I know...

; it's hacky.

stylesheets[all][] = styles/framework/debug.css

; Base theme for this subtheme.

base theme = ninesixty

And that, my friends, is that. I am then able to do whatever crazy preprocessors or CSS Selector-fest I want in my subtheme without mucking with The Awesome. And that, I feel, is The Awesomer.

 

Comments

Add comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <br/> <h1> <h2> <h3> <h4> <h5> <h6> <div> <span> <img> <object>
  • Lines and paragraphs break automatically.
  • Twitter-style @usersnames are linked to their Twitter account pages.

More information about formatting options