I just installed a fresh Magento 2.3.1, and I ran the following code to deploy sampledata.
The sample data are successfully installed but
styles.css is not loading. I have checked
pub/media folder, and I can see the
styles.css does exist.
I tried the following step to fix the problem
I cleared all content from folder generated, var/cache, var/page_cache, var/view_preprocessed, pub/static/ and flushed cache again.
- I give pub folder 777 permission.
styles.css is still not loaded on the frontpage.
This is the first time I experienced this weird issue. any suggestions?
I'm using luma theme and Magento 2.3.1
styles-m.css and styles-l.css are loaded successfully. it's only the pub/media/styles.css not loaded.