I create a custom admin theme to override few admin template files. In developer mode theme work perfect, but when I turn on production mode and make: bin/magento setup: static-content: deploy then: bin/magento cache: flash theme not work. In DB theme is registered. When I check pub/static/adminhtml/custom_module/custom_module there are no files.

  • Admin theme is not working yet, you have to overrider admin files you have to create module and overrider core files of adminpanel. Commented Oct 26, 2016 at 9:30
  • Yes, I do that, I override admin template files in app/design/adminhtml/custommodule/customodule. In developer mode everything is ok, but when I turn production mode magento won't compile/merge my custom admin theme with Magento/backend theme. Commented Oct 26, 2016 at 9:35
  • My admin panel in production mode look like this: postimg.org/image/co0ipu0vl Commented Oct 26, 2016 at 9:42
  • 2
    I found solution: github.com/magento/magento2/issues/3754 Commented Oct 27, 2016 at 6:24
  • How to solve @MarekKarmelski?
    – Jackson
    Commented Dec 2, 2016 at 8:43


Your Answer

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