Skip to main content

Drupal Documentation

Export Adaptivethemes Advanced Theme Settings

In the latest bleeding edge DEV version of Adaptivetheme we’ve introduced a new feature—the ability to export your theme settings. This is useful if you need to move your Drupal theme and you can’t just export and move the database as well.

Add Superfish Drop Menus to Any Theme, Easily

How to add a Superfish drop menu to Genesis or Adaptivetheme is one of the most common questions I get. Believe when I say I get emails from well intentioned Drupal users on a weekly basis asking me this. So now, please stop emailing me, I relent, heres how its done.

Rounded Corner Tools and Techniques

Heres a quick list of rounded corner tools and techniques you can use in your Drupal theme.

Font Family Groups

Quick list of some handy font family groups for web design and Drupal theme development. Includes the three groups that come with Adaptivetheme starter theme and an example of how to set the font-family in your CSS.

How to Add unique classes to Drupal menus

Sometimes you want to be able to style menu items individually. For example you may want to use image replacement to display icons instead of the text, or you may want to make one menu item stand out from the rest.

Drupals Primary and Secondary links allow you to do this because they print a class on the li that includes the mlid, so its easy to target a particular link doing something like:

li.menu-123 a {font-weight: bold;}

But, in normal Drupal menus, the ones that appear in blocks, no such classes appear, which leaves them all with the same style.

How to add a sidebar-top region in Genesis

Screen shot showing sidebar top region

Genesis supports 3 different layouts including both sidebars on either the left or right of the main content. In this configuration it can be useful to have a sidebar-top region that spans the width of both sidebars, but sits on top of them.

An example of when you might want to do this would be to display a fixed height banner or contextual ads. Its not good for content that will change in height as it could then overflow the div—while the fixed height limitation could be overcome, this tutorial is meant for beginners and is a simple strait forward explanation of how to add new regions in Drupal and how to position the new sidebar-top region using CSS.

This tutorial shows you how to do this in the Genesis starter theme for Drupal 6.

How to Write A Drupal Design Brief

PSD icon with Drupal icon

A design brief, sometimes know as the creative brief is a relatively short, high-level document that clearly outlines the important elements of the web design project—whether its a full Drupal theme development project or an ROS banner campaign each project needs this foundation document.

Give your Nodes some Class

In this short tutorial I’m going to show you how to set a unique class on your nodes based on taxonomy terms, which is something I’ve been asked about more than once or twice.

How Gpanels Work - the Secret Sauce

When I first built Gpanels I ran into the usual layout problems when using percentages—IE rounding up, Operas inane percentage rounding behavior and a bunch of other pita issues.

I decided there must be a better way of achieving the layout I was looking for, and not using grids, because my base theme is not grids based.

Gpanels Busted for Illegal Steriod Use, but OMG what a Performance!

As promised today we roll out the all new Gpanels - nine in total, five more than the original four released in Genesis. These will be released in AdaptiveTheme RC4 shortly and will be included in the next version of Genesis as well.