• Resolved oweskeez

    (@oweskeez)


    [Moderator note: Please do not manually add a bracketed theme name to the title of your topic. That’s not how these forums work. If you post in the correct forum for your theme, this will be added automatically.]

    [Theme: Responsive]

    Hello,

    I have created a child theme using the exact instructions this link provides:

    https://codex.www.ads-software.com/Child_Themes

    But when I add my custom header.php and footer.php to the child theme to override the header and footer of the parent, all styling on the site breaks. The header and footer markup is displayed but with no styling AND the styling for the unedited body section also breaks. The link above clearly states:

    “if you want to change the PHP code for the site header, you can include a header.php in your child theme’s directory, and that file will be used instead of the parent theme’s header.php.”

    I have done just that, included my own header/footer.php in child directory, and it is displayed on my site but with no styling, and the rest of the styling for the unedited body section is also broken.

    I can include relevant code snippets upon request, but seeing as there is no need to call these files in functions.php or anywhere else, I feel this may not be necessary.

    Thanks a lot and sorry if this is a stupid question.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child theme: custom template files break styling’ is closed to new replies.