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.

1 Answer 1


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.

  • 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. Nov 14, 2012 at 13:15
  • So you copied roots/templates/header.php to child/templates/header.php & modified? Nov 14, 2012 at 13:56
  • Have you also tried the same with header-top-navbar.php? Nov 14, 2012 at 13:59
  • Roots is now using theme wrappers as described in this post by @scribu
    – Zach
    Nov 14, 2012 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? Nov 14, 2012 at 14:19

Your Answer

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

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