:How to Change Layout of Category List Page in Magento 2 ::
Magento 2 provides easily change your category layout. There are two way for category list page layout changes.
(1)Change Layout By Backed :
Open your magento 2 backed and click on PRODUCTS->Categorys
, select any one category.
Now, go to “Design
” field as per given screenshot. you are looking like following fields.
– Theme: select your current store theme.
– Layout: select your layout as per required.
– Layout Update XML: also update xml using this fields.
Now click on “SAVE” button and look chages on frontend.
(2)Change Layout By XML :
We can also changes programmatically using following xml code.
– Open file app/code/Vendor/Modulename/view/frontend/layout/catalog_category_view.xml.
Note: “You need overrite this file because it’s core file”.
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">