Magento – Magento 2: How to set default layout to 1column

magento-2.1magento2

I have no idea where to set the default layout in creating a page in the backend where I want it to set the layout to "1 Column" instead of the default value "Empty".

empty layout

Anyone have the idea?

Best Answer

You have to override UiComponent xml file and add this code into design fieldset >> field:

<argument name="data" xsi:type="array">
       <item name="config" xsi:type="array">
            <item name="source" xsi:type="string">page</item>
            <item name="default" xsi:type="number">1</item>
      </item>
</argument>
Related Topic