Learn how to shape the front end of a Drupal 8 site with clear steps and simple examples. You will see how themes work, how templates shape markup, and how Twig fits into the system. This guide uses short lessons to help you build skill through real code.
Why Drupal 8 Theming Feels Different
Drupal 8 sits on the Symfony framework. This changes how parts of the system work. You also work with lessons learned from Drupal 7. The result is a theme layer that uses cleaner code and a clear file structure.
You work with Twig templates, objects, and classes. Much of the markup now lives in template files. This may feel new at first, but the rules stay simple once you see them in action.
How This Course Helps You
The course keeps each idea short and clear. You test each idea with a small example. When you try the code yourself, you learn how the theme layer responds. This gives you a base to explore deeper parts of the system on your own.
You also work on a small sample site. You turn a static HTML and CSS layout into a working Drupal 8 theme. This shows you the real steps of a theme build from start to finish.
Requirements
- Basic HTML and CSS
- A small amount of PHP
Who This Course Is For
- New Drupal 8 users who want to start theming
- Drupal 7 developers who want to learn the new theme system
- Site owners who want to change the look of a Drupal 8 site
- Developers who want a clear view of the theming workflow
What You Will Learn
- What Drupal 8 themes are
- How template files work
- How to change markup in a Drupal 8 site
- How to add CSS and JavaScript files
- How preprocess functions shape data for templates
- The core ideas behind the Twig template engine
- How to build a Drupal 8 theme from scratch