By default in the Astroid framework, there are a majority of the HTML rendered that can be edited via the/html /frontend/ folder in your template. However, updating Astroid to a newer version would overwrite your modifications with that or the core Astroid files.
From Astroid v2.4.0 you can override the frontend folder as well.
If you’d like to override the header layout file header.php
ROOT/libraries/astroid/framework/frontend/header.php
Copy the file header.php to
ROOT/templates/YOUR_ASTROID_TEMPLATE/html/frontend/header.php
and that should do it, the overrides are applicable to all files under the frontend folder.
NOTE:- For those below Astroid 2.4, please see these override changes :
If you’d like to override the header layout file header.php
ROOT/templates/astroid_template_zero/frontend/header.php
Copy the file header.php to
ROOT/templates/astroid_template_zero/html/frontend/header.php
and that should do it, the overrides are applicable to all files under the frontend folder.