Magento2.x: Re generate css files in pub/static folder


If you made a css change into your files of your theme, and you don’t see those changes in the pub/static folder, so it’s not being rendered on the frontend. You will need to proceed as follows:

  • First of all, try doing a php bin/magento setup:static-content:deploy.
  • If the previous command did not work, try doing the following: