Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Create the Theme Infrastructure

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:01
    with Emma Jane Westby
  • 0:02
  • 0:07
    EMMA JANE WESTBY: A base theme is someone's really great idea
  • 0:10
    of an awesome starting place for theming Drupal.
  • 0:12
    It's got some preset things in there.
  • 0:14
    It's got a folder structure.
  • 0:16
    Sometimes it even has SCSS files.
  • 0:19
    What we're going to do in this lesson
  • 0:21
    is create just that simple folder structure
  • 0:24
    that you can use over and over again in any of your future themes.
Loading ...

Create the Theme Infrastructure


A base theme is someone's idea of a really great starting point. It might include the stub files for CSS overrides, template files which bring Drupal core's markup up-to-date with HTML5, useful theme overrides which create new template variables. In other words: a base theme can provide you with a lot of really great stuff! The first version of the Domicile Theme used the NineSixty base theme—just enough for a simple site, but not so much overhead that it was complicated to learn. This version of the theme doesn't use a base theme. That's because, thanks to Sass, we'll be able to get almost all of the power of the NineSixty base theme through a gem plug-in. In this lesson you will learn which folders are typically used to keep Drupal themes neat and tidy.

Log in or sign up to download companion files.

Additional resources:
There are no resources for this video. If you believe there should be, please contact us.