Installing and uninstalling themes

The act of installing or uninstalling a theme is a common practice when administering a Drupal website. Let's try installing Stark and making it our default theme in place of Bartik.

Step one – installing a theme

Currently, the only uninstalled theme is Stark, and we can easily move this into the installed state by following these two steps:

  1. Click on the Install and set as default link.
  2. Scroll back to the top of Appearance admin.
  3. If we now look at the Installed themes section, we should see that we now have three themes installed: Stark, Bartik, and Seven. We can also tell that Stark is now our default theme by looking to the right of the themes name, which will be marked as (default theme) as shown in the following ...

Get Drupal 8 Theming with Twig now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.