problem to the child issue

Questions and AnswersCategory: Child Theme Questionsproblem to the child issue
zaynab asked 3 months ago

when changing to the child theme, changes in header.php are not maintained

1 Answers
Ben Staff answered 3 months ago

Hi,

If you copy and paste your header.php file from your parent theme into your child theme this will force your child theme to load it.

We don’t include header.php or footer.php files in the child themes. Because these are theme specific and it often updates each time the parent theme updates. Therefore, doing the above should foce your website to use the header.php file.

Comments