Jump to content
thirty bees forum
  • 0

Getting a few "The stylesheet ... was not loaded because its MIME type, “text/html”, is not “text/css”, files are on host but empty..


Question

Posted

Hello people,

When doing F12 on my site, I see these in red:

The stylesheet https://www.mysite.ca/themes/niara/css/modules/blocklanguages/blocklanguages.css was not loaded because its MIME type, “text/html”, is not “text/css”.

and

The stylesheet https://www.mysite.ca/themes/niara/css/modules/blockcurrencies/blockcurrencies.css was not loaded because its MIME type, “text/html”, is not “text/css”.

When checking on my host for the file blocklanguages.css and blockcurrencies.css, they are there and are “text/css” files, but the files are empty (0 bytes).

How can I fix this???

 

 

 

2 answers to this question

Recommended Posts

  • 0
Posted
25 minutes ago, Yabber said:

There is no need to do anything about it. If you enable “Smart cache for CSS”, these errors will disappear.

Cool, thanks for the tips...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...