Occasionally we may want to amend the existing markup for field display. The theme system in Drupal provides us with a flexible way to restructure a webpage that Drupal has generated. Manage display in fields provides the basic functionalities for changing field display. If we need customized layouts or advanced theming solutions, Drupal offers the theme layer where we can wrap our fields and data in the HTML and CSS of our choice.
In this chapter, we will look at the theme system in Drupal, and we will learn how theming is achieved in Drupal by creating and modifying template files and CSS files, and also by looking at some of the changes in the Drupal 7 theme system.
In this chapter, we shall learn: