I'm trying to override the customer login layout with no success. Magento for some reason is not loading my layout. I'm using Magento 2.3.2.

This is my theme structure:

enter image description here

I'm following this guide: https://belvg.com/blog/overriding-layout-files-in-magento-2.html with no success. Indeed, the steps are pretty straightforward and simple to understand.

I tried everything, even broken the XML syntax to get some error on screen, but nothing. I tried with cache:flush and setup:upgrade after every change.

Hope you can help me, thanks!

  • Your custom theme is activated?
    – Mitali
    Aug 9, 2019 at 5:25
  • @Mitro yes is activated
    – nikoskip
    Aug 9, 2019 at 13:12
  • Are you sure, On frontend your custom theme is enable by checking view source code. Please check because if it is enable then your xml must have to work.
    – Mitali
    Aug 9, 2019 at 13:24
  • @Mitro imgur.com/a/bhuxBy2 Indeed, I tried this guide magento.stackexchange.com/a/118363/77158 defining a custom layout for my Homepage and it works (after selected on the backoffice). But for some reason it doesn't work with the customer login
    – nikoskip
    Aug 9, 2019 at 13:45


Your Answer

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

Browse other questions tagged or ask your own question.