Root template <Magento_Theme_module_dir>/view/base/templates/root. phtml is the root template for all storefront pages in the Magento application. This file can be overridden in a theme just like any other template file. Unlike other templates, root.