Support » Themes and Templates » Child Theme Question

  • Resolved R L Honeycutt


    In twentyeleven-child, all I have is style.css. From another forum, to eliminate the search box in the menu bar, I have to delete code in header.php. It worked, but also eliminated the search box in twentyeleven. How do I get a header.php for the child, so I don’t disturb the parent. I’m new at this and would appreciate any help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Scott Fennell


    Just copy the original parent version of header.php into your child folder and edit to taste.

    With child themes it first looks in the child’s folder for the particular file (header.php, footer.php, single.php, etc) and if it doesn’t find it, loads the parent’s file. So, any piece of the parent you want to modify, copy it to the same relative place in the child’s folder and modify that version.

    Thanks to you both for the prompt reply. Somehow I got the idea that style.css was the only thing in the child folder.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child Theme Question’ is closed to new replies.