Drupal Basics-Install a Theme

Drupal is pretty flexible in its look and feel. A Drupal site can look like almost anything. The way the look and feel of a site is defined is through theming. Drupal comes with a few themes out of the box. To change a theme, you do it through the admin of your site--you can look at which themes you currently have installed at /admin/build/themes.

To alter your theme, there are two main sources for themes--if you have read my post on installing a module you can guess the two sources. You can create a theme from scratch or you can use a contributed theme. The theme I am currently using is a contributed theme.

This tutorial will focus on installing a contributed theme in Drupal 5.x.

You can peruse the contributed module pool at Drupal.org and click on the theme link.

Once you have chosen a theme that fits your needs there are several steps to adding it to your Drupal instance.

  1. Download the theme you are going to install ensuring that it is designed for your version of Drupal. Don't try to install a 4.x theme on a 5.x instance of Drupal.
  2. Go into /sites/all/ and create a directory called themes
  3. Extract your theme files
  4. Place the files as they are extracted into the themes directory you created
  5. In your Web browser, you need to enable the module. Go to /admin/build/themes and look for the theme you uploaded. It should be unchecked. Check the "enabled" box of the theme. If you want to make it your default theme, choose the appropriate radio button.

It is that easy.