Last updated July 26, 2017
Theming8.3.x

This tutorial demonstrates how to locate the template file that is currently being used to render an element and override it in your own theme. This is an important skill for anyone who wants to make changes to Drupal's default HTML markup.

In this tutorial we'll:

  • Override the node.twig.html template in our theme
  • Make changes to the markup
  • Create a content type specific template override like node--CONTENT_TYPE.twig.html