Unused fonts in CSS file
Oct 30, 2019
By
Laurie Noffs
My IT director asked me why there are so many fonts in my CSS file. I went through all pages and made sure all fonts are the same (Open Sans). I then went through all of the master slides and deleted the ones I am not using and made sure all fonts are set to Open Sans on the masters I am using. I did download 2 of the 360 template slides for 2 interactions, but changed their fonts to Open Sans. Now when I publish, I still get a relatively large CSS file (193 KB) full of fonts I am not using (12-15 unused fonts). My IT guy says it is best practice to not have a CSS full of junk not being used. Is there anything I can do to reduce the number of fonts in the CSS?
6 Replies
Hi Laurie,
If saving and re-publishing did not remove the items you are no longer using, I'd recommend importing your slides into a new file.
If you're still running into this issue, then with your permission, I'd like you to share your project file with our support engineers to investigate what's happening. You can share it privately by uploading it here. It will be deleted when troubleshooting is complete.
Thank you, Leslie. I tried copying and pasting the entire project into a new file, but similar results (attached CSS). I am sure it is leftover from the Content Library templates. I will share the story as you suggested.
Thanks, Laurie. You should be hearing from a member of our team soon.
Hello,
Was there a simple solution for this? Our company has had a course translated to chinese and our published output.min.css is 48mb!!! There is a lot of Data that come with the font Noto Sans SC.
Cheers.
Hi Ron!
Actually, yes it was a simple solution!
Can you try using the Replace Font feature?
You'll want to make sure to clean up this section of your course as it does impact the file size. Here's how to do that!
Thanks Lauren,
We ended up sending it back to the translators, to change the font; I didn't want to screw up any formatting of the Chinese text.
That's good to know though, I'll share the video with the team, for future reference.
Cheers.
This discussion is closed. You can start a new discussion or contact Articulate Support.