- Issue created by @edvanleeuwen
- πΊπΈUnited States flashwebcenter Austin TX
Hello,
If your goal is to change the node title from h3 to h2, and you've already edited the node.html.twig template, then yes this is typically the recommended and cleanest approach in Drupal.
Keep in mind that node.html.twig affects all content types. If you only want to apply this change to a specific content type, you should override the template using the format: node--[content-type].html.twig.
All modifications should be done within your sub-theme to ensure maintainability and upgrade safety.
https://www.drupal.org/docs/develop/theming-drupal/creating-sub-themes β
https://www.drupal.org/docs/develop/theming-drupal/twig-in-drupal/twig-t... βBest wishes,
Alaa