Thematic Grid

A sort-of WordPress child theme for Thematic

Download Thematic Grid 0.1.1

What is Thematic Grid?

My attempt to re-create the Thematic Theme Framework using the 960 Grid System.

Why is Thematic Grid?

Primarily because I wanted to practice web design and development. I love Thematic as it is, and I see no reason to use it with the Grid System unless you can make a cool design with the grid. If you can, great. If it just won't work, I'm not offended.

How do I use Thematic Grid?

Install Thematic Grid in the same way you would install any child theme. You have to modify the theme to your liking using the Thematic Grid files themselves. To that end, I tried to keep style.css and functions.php as clean as possible. I also included a zipped version of the original 960 Grid System folder, in case you want it.

How does Thematic Grid work?

The Thematic Grid style.css removes the usual call to the layouts included in thematic/library/layouts. They're replaced with a call to the 960 Grid (css/960.css) and a layout that mimics Thematic's default two-column layout (css/2c-r-fixed-grid.css). Note that Thematic Grid does not use the 960 Grid System's CSS reset or typography stylesheets.

I used jQuery to add the appropriate grid_X classes; I also added two functions that place clear classes below the header and above the footer. The code lives in includes/grid_functions.php and is called via an include in functions.php. Hopefully you'll find the code easy enough to modify or delete comfortably.

Does Thematic Grid differ from Thematic?

My goal was to re-create Thematic as closely as possible, but of course Thematic Grid is an inexact replica. The differences between the two --- that I know of --- are:

Did you cheat in any other ways?

Yes. Some layouts adjust the width of divs so that, for example, a div with the grid_8 class will have 540px width, not 620px. I adjusted these because I did not know of a way to dynamically asign grid classes based on the layout imported into the CSS (which changes various width requirements). I had to pick one grid class and stick with it throughout all the layouts.

Of course, if you're uncomfortable with that system, you could use jQuery to add the grid size you prefer, then alter the Thematic Grid layout stylesheets accordingly. Again, you shouldn't feel wedded to the included layouts and their associated hacks. In fact, none of the layouts in the css folder include many declarations; you could ignore them entirely and create your own in style.css.

Contact

I worked on Thematic Grid mostly for my own training. That said, I hope someone finds it useful, or has suggestions for how to improve the code so that it can become useful.

Please contact me at dave@dherrera.org. I'm also @dlh01 on Twitter.

Thanks in advance.

License

Released under the GNU General Public License, version 2. Thematic is copyright Ian Stewart and released under the GNU GPL v.2.

Changelog