I want a custom template for every theme region, but I'm not sure of the naming convention. For example, with the following information the .info file, would region--header.tpl.php be a correct template name for the Header region?

regions[header] = 'Header' 
regions[sidebar_first] = 'Sidebar First'
regions[content] = 'Content'
regions[footer] = 'Footer'

1 Answer 1


Yes, the naming scheme is region--[region].tpl.php where [region] is the region machine name defined in the theme info file. See Drupal 7 Template (Theme Hook) Suggestions for more information. You will need to flush your theme registry cache for the template to take effect.

  • Glad to help. If this answered your question, you should mark it answered for other readers.
    – Shawn Conn
    Commented Jun 10, 2015 at 16:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.