Needs work
Project:
NineSixty (960 Grid System)
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2009 at 21:57 UTC
Updated:
13 Feb 2012 at 08:44 UTC
Jump to comment: Most recent file
Comments
Comment #1
djinn23 commentedyes>> you can infinitely expand this system that is divisible by 2 or 3 ( I think) . Frankly I am pretty new with it but have been playing. Here is a comment by the guy who made it (not the drupal version) discussing the functionality: http://groups.drupal.org/node/16457#comment-64671
I know over the past six months I have read how to and I think that that thread will show you how to do it somewhere in there.
Edit: Here is one of the many postings of the drupal maintainers instructions on how to do it: http://groups.drupal.org/node/16457#comment-64728
Comment #2
robloachFound a cleanish way around it with using the NineSixty theme that we might want to document somewhere in README.txt...
Sub-themes with different page widths
This will use your own 960.css instead of NineSixty's themed one, allowing you to have a different page width, and not limiting you to 960 pixels.
Comment #3
dvessel commentedThis is a really interesting idea. I'll add this to version 2. Thanks!
Comment #4
robloachIt's actually already available without any changes to the NineSixty theme. Here's the .info file I'm using:
mysubtheme.info:
It results in this when outputed:
Notice how ninesixty/styles/framework/960.css isn't there and I'm using my own 960 grid pattern ;-) . Yay!
I could create a patch to document this in README.txt if you want....
Comment #5
dvessel commentedWhat I meant was the included documentation which will go beyond a simple README.txt file. For version 1, let's skip it. I don't want to overload the README.txt. Thanks.
Comment #6
robloachYeah, I was thinking this might do better as a 960 sub-theme starter kit, similar to what Zen provides........ In other news, get on IRC #Drupal sometime so we can pimp out some 960.
Comment #7
robloachHow about something like this?
Comment #8
jacinesubscribe :)
Comment #9
armyofda12mnkeys commentedjust curious beyond setting up .info file to point to base zen_ninesixty theme, and override style.css (copying style.css to your subtheme), (and possibly copying over page/node.tpl.php for customizing)...
what else needs to be copied?
I remember Zen's starter kit you had template and theme-settings.php maybe too? that I also copied... I think i NEEDED to do this so the wireframes show up when in the theme settings i check off the 'Wireframes: Display borders around main layout elements' checkbox in the Zen theme (in fact copying these files, allowed me to override those settings, although it may be preferable to get it working so just have the settings in the base theme and they default to subtheme).
(without these files copied over, the "with-wireframes" class isnt added to the tag's $body_classes when you set wireframes checked in the base theme settings).
Then after copying files over, checked the wireframe checkbox in the SUBTHEME's settings and then wireframes worked.
Also I needed to delete ns() function when i copied over template.php as php would try to redeclare same function twice since base theme declares it and error.
Are these steps right or not?
Comment #10
amitaibu@Rob,
Yo! thanks for the cool tip.
this seems a bit random ;) Can't the file be empty?
Maybe: "Create a ninesixty subtheme"
btw, we should decide if it's NineSixty/ Nine sixty/ ninesixty...
Maybe: "Optioanl; Provide a screenshot of your theme."
We should add RTL placeholder.
+;stylesheets[all][] = 960-rtl.css
shouldn't it be?
+stylesheets[all][] = styles.css
Comment #11
radimklaskaI had some kind of 960 starter theme just for myself and I added "support" for custom grids as described in #2. It's now posted on github: https://github.com/radimklaska/ns_starter
Feel free to use it as you want and please give some feedback - I'm considering publishing it on d.o as an standalone theme.
Comment #12
lennarthuizing commentedSubscribe