WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I made a child theme for roots and it worked as expected. I can override everything, including footer.php, but not header.php. My header.php looks exactly like the one from roots at the moment, except for the blog title, which I replaced. I googled it, but it seems that I'm the only one facing this problem.

share|improve this question
up vote 0 down vote accepted

Just to clarify, are you referring to this theme? If so, it doesn't appear to use the architecture of a typical theme - you'll need to copy roots/templates/head.php to child/templates/head.php and modify accordingly.

share|improve this answer
Yes that is the theme Im talking about. But why head.php? I need to change header.php, because I want to modify the call for wp_nav_menu and I dont know how to do it via hook. And yes, I used the templates folder. In forum posts I saw that other people did the same thing with root's header.php and succeeded. – Sebastian Starke Nov 14 '12 at 13:15
So you copied roots/templates/header.php to child/templates/header.php & modified? – TheDeadMedic Nov 14 '12 at 13:56
Have you also tried the same with header-top-navbar.php? – TheDeadMedic Nov 14 '12 at 13:59
Roots is now using theme wrappers as described in this post by @scribu – Zach Nov 14 '12 at 14:14
Yes, thats exactly what I did. And no, I haven't tried yet. I later will. I just googled it. Why does it contain another wp_nav_menu? – Sebastian Starke Nov 14 '12 at 14:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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