WordPress.org

Support

Support » Themes and Templates » TwentyTen – trying to update header.php in child theme

TwentyTen – trying to update header.php in child theme

  • Hi,

    Im using twentyten but want to modify the header. I have created a child theme and put in style.css and activated the new theme as per the codex instructions. I have then put in a copy of header.php and made changes but its just not being picked up.

    Im new to child themes and how they work. Do i need to delete the header.php from the praent directory to make this work?? I have tried modifying that one as a test and the changes show.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • need help with this too

    Michelle Langston

    @chellycat

    Theme Wrangler at Automattic

    Did you add “Template: twentyten” in the header of your Child Theme? It should look something like this:

    /*
    Theme Name: Your Child Theme Name
    Theme URI: http://yourURL.com
    Description: A child theme of the 2010 default theme for WordPress.
    Author: Your Name
    Author url: http://yourURL.com
    Version: 1.0
    Tags: put, your, tags, here
    Template: twentyten
    */

    Then you put all your styles underneath that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘TwentyTen – trying to update header.php in child theme’ is closed to new replies.
Skip to toolbar