I noticed a strange behavior in a M2 System, I think this is related to a 3rd party module. All layouts which should be 1column layouts are 2 column layouts actually so something overwrites the default behavior. In conclusion, they got the wrong body class page-layout-admin-2columns-left instead of page-layout-admin-1column. I followed this thread How can I debug layout file processing in Magento 2? to debug this, but can't see anything wrong. So my questions are, how to debug this? Any hints are helpful.

enter image description here

Cheers, Jan

  • I'm having the same issue and I cannot figure out how to fix this. Can you elaborate a little on how you fixed this? Thanks :) – Daniel Apr 7 '20 at 13:29

I found a solution:

  • I did a "locate adminhtml/layout/default.xml"
    • Within those files I did a grep on string "layout"
    • I could identify a module which sets the wrong layout which overwrites the default behaviour

Anyway, many thanks @Imran

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.