cancel
Showing results for 
Search instead for 
Did you mean: 

How to overwite empty.xml in base area

How to overwite empty.xml in base area

Hello,

 

I started a new theme based on Magento/blank. Changes in the frontend area work as expected, but I want to change a <container> definition of Magento_Theme/view/base/page_layout/empty.xml . Since that lays outside of the frontend folder, magento seems to ignore my trys to overwrite/extend the file.

 

I already added the following files, according to the frontendversions, but adpated for base. All in this path:  app/design/base/Vendor/Ext :

composer.json, registration.php, theme.xml and media/preview.jpg

 

Magento_Theme/page_layout/empty.xml

...
<referenceContainer name="root">
...
        <container name="page.wrapper" as="page_wrapper" htmlTag="div" htmlClass="container">
...
</referenceContainer>
...

Is it even possible to overwrite the base portion? Am I on the wrong place?