# Stop theme.css from importing random css files

**URL:** <https://forum.pinegrow.com/t/stop-theme-css-from-importing-random-css-files/10000>\
**Category:** Bug Reports\
**Tags:** bug\
**Created:** [November 12, 2024, 6:11pm UTC](https://forum.pinegrow.com/t/stop-theme-css-from-importing-random-css-files/10000 "2024-11-12T18:11:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [November 12, 2024, 6:11pm UTC](https://forum.pinegrow.com/t/stop-theme-css-from-importing-random-css-files/10000/1 "2024-11-12T18:11:54Z")

</div>

Hi, the auto generated theme.css file in side the css folder is importing another CSS file which is causing my CSS to load twice in WordPress. How do I stop PG from adding this file to css/theme.css (where all the :root colors go):

```auto
@import url('../a_css/custom-theme.css');

```

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/0/099f600e5d3dc050ac18720ddc1c874205c7f7e2.png)

---

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [November 14, 2024, 9:32am UTC](https://forum.pinegrow.com/t/stop-theme-css-from-importing-random-css-files/10000/2 "2024-11-14T09:32:24Z")

</div>

I found out that the file was being loaded because that is where I told the UI my font’s were. So to fix the the styles being loaded twice you’d need to put your @font-face files into their own file or just not use the UI (which is what I did).
