Stop theme.css from importing random css files

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):

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

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).

1 Like