문제

When running the php bin/magento setup:static-content:deploy command I am having an issue with the frontend of the site where it looks like it is loading the Magento/luma theme and ignoring all of my theme files.

Also, I have tried the --exclude-theme on the command to ignore the Magento/luma theme but no luck.

Here is how the website is looking when I run the command:

enter image description here

도움이 되었습니까?

해결책

Another important thing is check your current theme from database in themes table. Your theme type should be physical.

다른 팁

When you execute this command you must add the languages ​​of your store and -f, for example my store uses Spanish from Spain so:

php bin/magento setup:static-content:deploy es_ES en_US -f

php bin/magento cache:flush

I hope it helps

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top