A header was accidentally created in the parent theme.
Can it be moved to the child theme? Or does it need to be recreated?
A header was accidentally created in the parent theme.
Can it be moved to the child theme? Or does it need to be recreated?
Hey @MX_AK,
Thanks for reaching out!
Upon checking your website, you’ve created your header using the Header Builder. With that said, if you activate the child theme, it doesn’t affect the header functionality.
Hope that helps.
Hey @marc_a,
Thanks for the quick response. That’s good to know that it should be working.
However, in the parent theme, the header displays correctly, and in the child theme, I get the “Uh Oh!” error:
The page is using a template that was designed for a header, footer.
Hey @MX_AK,
The issue relies on your child theme header.php file, you need to check your customization there and compare it to the live website.
Hope that helps.
The parent theme header.php has a single line of customization - do_action( ‘cs_header’ );
The child theme header.php has a lot of older customization, but not the line from the parent, so I added it.
No changes after doing so. The child theme is still not displaying a header, and Cornerstone is showing the “Uh oh!” error.
Hello @MX_AK,
To resolved your issue:
1.) Please copy the contents of the header.php
file into a notepad.
2.) Delete header.php
from your child theme.
3.) Install Code Snippets plugin.
4.) Add a new snippet and add this:
<META HTTP-EQUIV="REFRESH" CONTENT="3600">
<!-- Icon Fonts Added 6/19 sm -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
Hope this helps.