Book Image

Learning Drupal 8

By : Nick Abbott
Book Image

Learning Drupal 8

By: Nick Abbott

Overview of this book

Drupal 8 sets a new standard for ease of use, while offering countless new ways to tailor and deploy your content to the Web. Drupal 8 allows user to easily customize data structures, listings, and pages, and take advantage of new capabilities for displaying data on mobile devices, building APIs, and adapting to multilingual needs. The book takes you step by step through building a Drupal 8 website. Start with the basics, such as setting up a local “stack” development environment and installing your first Drupal 8 site, then move on to image and media handling, and extending Drupal modules. Push your knowledge by getting to grips with the modular nature of Drupal, and learning to extend it by adding new functionalities to create your new modules. By the end of the book, you will be able to develop and manage a modern and responsive website using Drupal.
Table of Contents (21 chapters)
Learning Drupal 8
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Custom themes


If you are working on a website for commercial use, it's probable that you will have designs or at least design guidelines to follow. It is possible to create your own custom themes for Drupal to achieve the exact look and feel you need.

Creating custom themes is beyond the scope of this book, but before we conclude this topic, it's worth introducing a couple of other concepts important to Drupal theming when you take the next step.

Base themes and subthemes

Drupal themes are designed to be extendible so that you can build a theme of your own that only changes some small aspects of a parent theme. It's not best practice to edit the content of any part of Drupal core, but you may, for example, want to modify the CSS of the Bartik theme for your own purposes.

In this scenario, you would make a subtheme of the Bartik theme and then edit the CSS in your version of the theme. As mentioned earlier, some of the other themes provided in Drupal core such as Classy is not designed to be...