I am creating a custom theme. I want to use 2column-left layout for categories page. If I write something in local.xm it doesn't work at all. I feel it is of no use. but when for a specific category I select a layout e.g. 2columns-left it works perfectly.

my local.xml is as under but it is not working. enter image description here


Please check other xml files as well, this may be due to some module is overwriting the layout of catalog_category_view .
Magento starts rendering page as per XML file definition only and overwrites configuration based on custom settings added by user from Admin panel so check the setting of your theme and other xml files for right outcome. Definitely some xml file is overwriting the layout file which is again overwritten by your custom setting added in category section.

  • Layouts are applied from admin panel for each category. so in this case i guess remove layouts from admin panel will work? – Tahir Shahzad Dec 1 '15 at 6:33
  • surely, magento works on fallback model and if you will unset the layout from category, it will get it from xml file. If its not getting, then there is a problem, also check the option 'use parent settings' – Aman Srivastava Dec 1 '15 at 6:42
  • ur welcome ... :D – Aman Srivastava Dec 1 '15 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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