How To Remove the Astra Header From Entire Site?

No results found. Try again with different words?

Search must be at least 3 characters.

    How To Remove the Astra Header From Entire Site?

    Using the Astra Meta Settings, you can easily disable the Header for each page or post separately. On the other side, if you want to remove the Astra Header from your entire website, this could be a tedious and time-consuming task.

    To completely remove the Astra Header in a quick and easy way, you can use a custom code (filter). You would need to add the following filter to the functions.php file of your Child Theme:

    add_action( 'wp', 'remove_astra_header_callback');
    function remove_astra_header_callback(){
    remove_action( 'astra_header', 'astra_header_markup' );
    }
    

    If you don’t have your Child Theme installed, please check this article on how to do it. If you are not sure how to add this code, please check this article.

    Was this article helpful?
    Did not find a solution? We are here to help you succeed.

    Related Docs

    Scroll to Top
    Now choose your preferred
    page builder addon
    Choose your preferred page builder addon

    Download is Just A Click Away!

    Be among the first to try the beta version of Astra’s Header Footer Builder. Filling the form will ensure you’ll be the first to learn about updates and features.

    Download is Just A Click Away!

    Enter your email address and be the first to learn about updates and new features.