Last updated September 22, 2015. Created on August 2, 2012.
Edited by Heine, krina.soni, ifrik, ashish_nirmohi. Log in to edit this page.

This community documentation guide is about changing the look and feel of a Drupal site. The guide covers Drupal 6 & 7 and Drupal 8.

You can change the administrative settings to modify the appearance of the theme, you can copy an existing theme and then change or extend the code, or you can build a complete theme from scratch. For doing this you need to copy files from core theme and place it under sites/all/themes and do the necessary changes on .info, template, tpl and css files.

You can do more with a theme than change the appearance of an entire site. It is also possible to "theme" only certain sections of a site, certain types of content, or even individual pages. For example, your theme could specify a different look for just the front page of your site.

Some other things that you can also do with a theme are:

  • Change layouts, regions, images and fonts.
  • Hide or display fields dependent on user role.
  • Dynamically responds to changes in the content, or to user input.
  • Modify or replace text (e.g. labels or attributes) and variables generated by modules.
  • It's also possible to port open source designs between other systems (Joomla! templates, WordPress themes, etc.) and Drupal, or convert any website layout or template into a Drupal theme.
  • Create a sub-theme. Your own version of a theme (existing or one that you create) that you can modify, while protecting the functionality of the original (base-theme) for update purposes creating a sub-theme.

Other Places to Explore

Looking for support? Visit the forums, or join #drupal-support in IRC.