0

enter image description hereIn Magento_Catalog/layout/catalog_category_view.xml I tried to change it's layout from 2columns-left to 1column.

I did override to by 1column but overriding layout didn't show any effect to the structure. Can you please help me about this.

Thank You in advance.

2
  • Can you post the code for better view ? Commented Sep 16, 2016 at 7:55
  • bro can you help me about this? Commented Sep 16, 2016 at 8:38

1 Answer 1

0

You have to just keep below code inside your theme layout folder,

Keep layout=1column

File path app/design/frontend/Vendor/themename/Magento_Catalog/layout/catalog_category_view.xml

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>      
    </body>
</page>
5
  • its already inside my theme layout folder. Commented Sep 16, 2016 at 8:41
  • 1
    you have to keep 1column not 1columns in your layout file Commented Sep 16, 2016 at 8:42
  • please update your code and check again. Commented Sep 16, 2016 at 8:46
  • updated to 1column. Again didn't work. Commented Sep 16, 2016 at 10:33
  • you have to keep only required code inside layout file, remove extra code from your file and remove var foldre, clear cache Commented Sep 16, 2016 at 10:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.