We’re trying to build a custom header template with bootstrap, but we can’t override the header.php in the child theme. We are using the same structure as on parent themes\generatepress-child\inc\structure\header.php
Changes made on \inc\structure\header.php on child theme are not visible on website.
Overriding template files only works in the top level I believe.
You should do this:
remove_action( 'generate_header', 'generate_construct_header' );
add_action( 'generate_header', 'tu_my_custom_header' );
function tu_my_custom_header() {
?>
My custom header in here
<?php
}