Can’t remove DIV from hooks in Storefront child theme [closed]

Storefront version 3.0:

Code of the header.php in version 3.0

<header id="masthead" class="site-header" role="banner" style="<?php storefront_header_styles(); ?>">

    <?php
    /**
     * Functions hooked into storefront_header action
     *
     * @hooked storefront_header_container                 - 0
     * @hooked storefront_skip_links                       - 5
     * @hooked storefront_social_icons                     - 10
     * @hooked storefront_site_branding                    - 20
     * @hooked storefront_secondary_navigation             - 30
     * @hooked storefront_product_search                   - 40
     * @hooked storefront_header_container_close           - 41
     * @hooked storefront_primary_navigation_wrapper       - 42
     * @hooked storefront_primary_navigation               - 50
     * @hooked storefront_header_cart                      - 60
     * @hooked storefront_primary_navigation_wrapper_close - 68
     */
    do_action( 'storefront_header' ); ?>

</header><!-- #masthead -->

In version 3.0 the

<div class="col-full">

and

</div>

will be created by the hooks “storefront_header_container” and “storefront_header_container_close”. You find the implementation of these two hooks in the file storefront-template-functions.php

To remove these hooks you can do something like this:

function remove_default_hooks() {

remove_action( 'storefront_header', 'storefront_header_container',                   0 );
remove_action( 'storefront_header', 'storefront_header_container_close',                   0 );

}

add_action( 'init', 'remove_default_hooks' );

Storefront version 2.8 and smaller:

Code of the header.php in version 2.8

<header id="masthead" class="site-header" role="banner" style="<?php storefront_header_styles(); ?>">
    <div class="col-full">

        <?php
        /**
         * Functions hooked into storefront_header action
         *
         * @hooked storefront_skip_links                       - 0
         * @hooked storefront_social_icons                     - 10
         * @hooked storefront_site_branding                    - 20
         * @hooked storefront_secondary_navigation             - 30
         * @hooked storefront_product_search                   - 40
         * @hooked storefront_primary_navigation_wrapper       - 42
         * @hooked storefront_primary_navigation               - 50
         * @hooked storefront_header_cart                      - 60
         * @hooked storefront_primary_navigation_wrapper_close - 68
         */
        do_action( 'storefront_header' ); ?>

    </div>
</header><!-- #masthead -->

In version 2.8 and smaller the

<div class="col-full">

and

</div>

are part of the header.php file. The only way to remove that two html elements is to overwrite header.php file in your child-template.