Magento 2 StyleSheet not loading

Please validate, if your webserver uses the correct rewrites.

For Apache: allow the loading of htaccess files and usage of rewrite rules.

for nginx, use the example config provided in the magento directory.


First of all, View the source of your page and click the css links, if it is pointed correctly it should bring you to the css page.

Please check whether you have changed Home page design from Admin Panel.

I mean go to Cms >> Pages

Open Home Page.

Click on Design tab.

Check value of "Custom Theme" under "Custom Design".

If still you find any trouble, then please provide your website's URL.


run command on Magento Root

php dev/tools/Magento/Tools/View/deploy.php

OR

Go to

dev/tools/Magento/Tools/View/ location and run command

php deploy.php