I am developing a new theme for Magento 2, based on Magento/blank.
I am trying to remove the div "page-wrapper", unsuccessfully.
Inside my app/design/frontend/custom/theme/Magento_Theme/layout/default.xml
I inserted the following <referenceContainer name="page_wrapper" remove="true"/>
but nothing happens, the div is still there. What should I do to remove it?
Magento 2.1 – Remove page-wrapper from Magento/blank Theme
layoutmagento-2.1theme
Best Answer
You have to use the block name.