Recently I decided to create a custom layout like column1-without-sidebar or something.
I just want catalog->category page with the header and footer but without the sidebar etc.
So Any ideas what I'm doing wrong? Also I wonder where the default Magento 2.1 column1,2,3 layout is located?
I created a file named smakenLayout.xml in the /magento2/app/design/frontend/Smartwave/MY_THEME/Magento_Theme/layout. The code is as follow(taken from magento.stackechange):
<?xml version="1.0" ?>
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
<update handle="empty"/>
<referenceContainer name="page.wrapper">
<container name="header.container" as="header_container" label="Page Header Container" htmlTag="header" htmlClass="page-header" before="main.content"/>
<container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
<container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
</referenceContainer>
</layout>
Another file which was to declare the smakenLayout.xml was made and put in the main Magento-theme folder: /magento2/app/design/frontend/Smartwave/MY_THEME/Magento_Theme/. The code is as follow:
<page_layouts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/PageLayout/etc/layouts.xsd">
<layout id="smakenLayout">
<label translate="true">Test Layout</label>
</layout>
</page_layouts>