First I am new to magento development and theme integration. As reading forum on the magento theme, created custom theme folder structure with listed file as below....

  • composer.json
  • registration.php
  • theme.xml
  • /media
  • /web

But can't got which and where the phtml files are located, so i can overwrite it???

Can someone please help/guide on this?

  • drEcom is my custom theme's <vendor name>. and theme name is <tQCustometheme>
    – Draval
    Dec 19, 2016 at 13:34
  • have you got solution? Dec 20, 2016 at 6:23
  • nope - i was stucked @ css and image not getting redered after appliing my custome theme from parent theme!!
    – Draval
    Dec 20, 2016 at 10:21
  • have you set parent theme to your custom theme ? Dec 20, 2016 at 10:22
  • yep - " <parent>Magento/Luma</parent>"
    – Draval
    Dec 20, 2016 at 10:28

1 Answer 1


You can use Magento\app\design\frontend\drEcom\tQCustometheme\{Default_Module}\templates\{yourovrride.phtml}.

let's say you have to override


file in your theme then your details.phtml file path should be like:


  • Right now i am working for test/learn purpose only, so using the luma theme to override.
    – Draval
    Dec 19, 2016 at 13:36
  • for luma theme, you can use this app/design/frontend/Magento/luma path Dec 19, 2016 at 13:39
  • Let me try your suggestion... thanks for your efforts...
    – Draval
    Dec 19, 2016 at 13:39

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.