Last updated October 6, 2017

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