enter image description here


I'm facing an issue that my CSS files are not loading since I made changes in theme table on my DB. I have changed TYPE from 1 to 0 on my theme row in order to load my default_head_blocks.xml (in theme directory). I know this is a very common question, maybe a duplicate question. But none of the solutions works for me.

I have tried following things:

All Magento commands from config:import, setup:upgrade, static:content to cache:flush. I do have .htaccess file in my pub/static folder. My 'rewrite_module of apache' is enable. My folder has 777 permission. I remove comments from my CSS file and tried minify version as well.

Probably, someone marked my question as a duplicate but I have tried almost every solution available on the Google and none of them works. Any help would be appreciated.


As per your screenshot, Your locale is German. You should run below command

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy de_DE pl_PL en_US  
php bin/magento cache:clean
  • As I mentioned in my question. I did all the commands. – Mustafa Irshad Jun 12 '18 at 13:52
  • This command is different, please check properly. It's for deploy locale wise theme – Suresh Chikani Jun 12 '18 at 13:53
  • Since I have 3 store views: I have tried in this way php bin/magento setup:upgrade php bin/magento -f setup:static-content:deploy en_US de_DE pl_PL php bin/magento cache:clean – Mustafa Irshad Jun 12 '18 at 13:54
  • Check my updated answer and check for same. – Suresh Chikani Jun 12 '18 at 13:56
  • Ok, so you mean DE first, Ok I'll try. Hope this will make any difference – Mustafa Irshad Jun 12 '18 at 14:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.