Magento – Magento 2 styles not showing after choosing luma theme

cssluma-thememagento2theme

I have a fresh new intall of magento 2, which appeared to be working fine till I changed the Theme to Luma. Then the frontend styles disapeared, the info is there, as well as the products, but no styles at all, not even if chose blank theme or no theme at all. Backend is OK.
What I have done so far:

  • Run again ./magento setup:static-content:deploy
  • Duble checked that Write Engine is ON
  • Cleared cache both in Magento admin and using command line
  • Reindexed via command line
  • Cleared browser cache
  • Set directories and files permisions to 755 and 644 respectively
  • Veryfied the exitence of .htaccess file in the pub/stactic directory
  • tried to recompile styles only

But just cannot get the styles to come back again.

Best Answer

Remove folders from Var directory (cache, generation and page_cache) then use following commands in CLI(from magento 2 root): - php bin/magento setup:di:compile - php bin/magento setup:static-content:deploy (for magento 2.2.x or more you have to use -f)

then refresh page and you will have all css applied.