# Refused to apply style

**URL:** <https://forum.inductiveautomation.com/t/refused-to-apply-style/33197>\
**Category:** Ignition Early Access\
**Created:** [March 18, 2020, 8:52am UTC](https://forum.inductiveautomation.com/t/refused-to-apply-style/33197 "2020-03-18T08:52:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbussolino](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sbussolino](https://forum.inductiveautomation.com/u/sbussolino)\
**Post date:** [March 18, 2020, 8:52am UTC](https://forum.inductiveautomation.com/t/refused-to-apply-style/33197/1 "2020-03-18T08:52:11Z")

</div>

Hello everybody,

it's a few days that I'm struggling with the following error in the console, but I think it's there from longer, I just didn't notice it before.

> 09:34:48.353 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - Refused to apply style from '[http://195.231.8.197:8088/data/perspective/themes/plant.css](http://195.231.8.197:8088/data/perspective/themes/plant.css)' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

it's showing everytime I save or open a view or doing any operation basically, plus it's shown once per each page I have open in the designer, to be clear if I have 3 pages open it will show as follows in the console picture.

 ![console](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/44635efcd2ec94b9798098e2a9d7b050b427e02a.jpeg)

When I run my application on the browser, chrome console actually logs the same message as an error.  
Here is the log

 ![chrome](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/e5ac55d40d08bfdc5aaf07f8965cff639fa193f9.jpeg)

[195.231.8.197-1584520803489.log](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f12f65e2cc2428ca1b200bf47e427034fe29fb5d.log) (537 Bytes)

I really want to get rid of this message, any help is appreciated

---

<div class="post-metadata">

**Author:** ![Sunny](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sunny/32/13319_2.png) [@Sunny](https://forum.inductiveautomation.com/u/Sunny)\
**Post date:** [March 18, 2020, 12:54pm UTC](https://forum.inductiveautomation.com/t/refused-to-apply-style/33197/2 "2020-03-18T12:54:54Z")

</div>

Referencing this [article](https://stackoverflow.com/questions/48248832/stylesheet-not-loaded-because-of-mime-type), check if your “custom” css isn’t starting with comments. If so, the system sees it as something else then an actual CSS file.

---

<div class="post-metadata">

**Author:** ![sbussolino](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sbussolino](https://forum.inductiveautomation.com/u/sbussolino)\
**Post date:** [March 18, 2020, 1:16pm UTC](https://forum.inductiveautomation.com/t/refused-to-apply-style/33197/3 "2020-03-18T13:16:17Z")

</div>

Thanks for the reply,

the point is I don’t have any class named “plant.css”, and I don’t know where to look in order to understand why is it being loaded in the project

---

<div class="post-metadata">

**Author:** ![Sunny](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sunny/32/13319_2.png) [@Sunny](https://forum.inductiveautomation.com/u/Sunny)\
**Post date:** [March 18, 2020, 1:23pm UTC](https://forum.inductiveautomation.com/t/refused-to-apply-style/33197/4 "2020-03-18T13:23:47Z")

</div>

This is not a default file from IA, take a look at this directory:  
~Ignition Installation Location~\Ignition\data\modules\com.inductiveautomation.perspective\themes  
You should see your file there.

---

<div class="post-metadata">

**Author:** ![sbussolino](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sbussolino](https://forum.inductiveautomation.com/u/sbussolino)\
**Post date:** [March 19, 2020, 8:22am UTC](https://forum.inductiveautomation.com/t/refused-to-apply-style/33197/5 "2020-03-19T08:22:57Z")

</div>

I’ve alredy check all the folders and subfolders searching for that file, but no way I could find it.
