Answers.Body: <p>Fixed this by resetting the css path in the settings.
  It was trying to access an folder that didnt exist.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-02T15:02:34.283Z
Answers.LastActivityDate: 2020-06-02T15:02:34.283Z
Answers.UserDisplayName: Joris Menke
Answers.Body: <p>I had a similar problem with Drupal.  I needed to run composer civicrm:publish</p>
  <p>Best,
  Josh</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-18T04:59:26.240Z
Answers.LastActivityDate: 2022-07-18T04:59:26.240Z
Answers.UserDisplayName: Josh
Body: <p>The error in question is as follows:</p>
  
  <p>Refused to apply style from 'mysite/wp-content/uploads/civicrm/persist/contribute/dyn/crm-menubar.e7a0463626d3eb2004ca8b83b4b12bad.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.</p>
  
  <p>Anyone have any idea how to fix this?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-27T15:57:26.650Z
Comments.Text: Open your browser's Developer's tools - eg in Firefox, go to the menu, choose Web Developer, then Network.  Reload the page and then look at the content returned for that css utl.  I'm guessing it shows an error page rather than css.
Comments.UserDisplayName: Aidan
Tags: <css>
Title: Css not loading causing the dashboard not loading correctly
ThreadText: # Css not loading causing the dashboard not loading correctly
  
  (Asked by: username_0 on 2020-05-27)
  
  The error in question is as follows:
  
  Refused to apply style from 'mysite/wp-content/uploads/civicrm/persist/contribute/dyn/crm-menubar.e7a0463626d3eb2004ca8b83b4b12bad.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
  
  Anyone have any idea how to fix this?
  
  **Tags:** css
  
  > **Comments:**
  > **username_1**: Open your browser's Developer's tools - eg in Firefox, go to the menu, choose Web Developer, then Network.  Reload the page and then look at the content returned for that css utl.  I'm guessing it shows an error page rather than css.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2020-06-02. Score: 2 | Accepted answer
  
  Fixed this by resetting the css path in the settings.
  It was trying to access an folder that didnt exist.
  
  
  ---
  
  ### Answer by username_2 on 2022-07-18. Score: 1
  
  I had a similar problem with Drupal. I needed to run composer civicrm:publish
  
  Best,
  username_2
  
  
  ---
  
  