Magento 2 – How to Override PHTML Files

magento2phtml

Is it possible to override Magento 2 Luma phtml Files? I've created a new theme based on Luma which is working perfectly but I can't find any phtml files anywhere.

I've also noticed my app/code directory is completely empty.

Best Answer

you can find luma theme files are located

copy from here

vendor/magento/theme-frontend-luma

add in your theme

app/design/frontend/spacename/theme/

you are missing templates in path /app/design/frontend/Penguin/default/Magento_Theme/templates/html/header.phtml

Related Topic