Creating the .info file and adding CSS

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:08
    In this chapter, we're going to take a look at getting started
  • 0:10
    creating our own custom theme.
  • 0:12
    If you'll remember from the presentation earlier,
  • 0:15
    the first step in creating a theme for Drupal
  • 0:17
    is defining a .info file for our theme.
  • 0:21
    In order to do that, we need to switch over to our Drupal file structure.
  • 0:26
    Inside of the Drupal sites directory,
  • 0:28
    inside of the all directory, inside of themes,
  • 0:31
    we're going to create a new directory for our theme
  • 0:33
    and inside of that we'll place our .info file

Creating the .info File and Adding CSS


This chapter goes through the minimum steps for registering a theme within Drupal by creating a .info file. It also shows the syntax for a theme to be able to add custom CSS to your site as we start to implement our example design.

Additional resources: