Skip to main content

My new Drupal theme

· 2 min read
Drupal site logo

I've thought about creating my own Drupal theme for this site for sometime now, but haven't really found the time and motivation to get started. That is, until my friend Mike recently radically altered his blog by creating his own Drupal theme. Well, that inspired me to finally have a go at replacing this site's much-loved default "Garland" theme.

Well, after some initial head-scratching, I was pleasantly surprised to find out just how easy it can be to theme Drupal sites! My new theme, for example, is done entirely with three CSS files, and two images.

The three CSS files (which I choose to split purely for manageability reasons) are:

As you can see, it's all pretty simple. There's not even any browser-specific hacks :) Of course, I wanted to keep the site theme very clean, and clear-cut, so that did make it easier.

Drupal's theme engine is very powerful, and allows advanced template modification via PHP - which is something I'm keen to have a play with sometime, but simply did not need to achieve what I wanted so far :)

Anyway, let me know what you think, but do be kind - my graphic design skills are bordering non-existent! ;)

PS - I intend to add a code.css file eventually, which will contain CSS styling specific to the various languages I quote code for on this site, for example SQL, BASH, C/C++, etc. So that will be fun :)