# Loading Google Fonts with @import

**URL:** <https://meta.discourse.org/t/loading-google-fonts-with-import/48045>\
**Category:** Product Support\
**Created:** [July 31, 2016, 8:58pm UTC](https://meta.discourse.org/t/loading-google-fonts-with-import/48045 "2016-07-31T20:58:35Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jamesmarkcook](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesmarkcook/32/168563_2.png) [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)\
**Post date:** [July 31, 2016, 10:16pm UTC](https://meta.discourse.org/t/loading-google-fonts-with-import/48045/3 "2016-07-31T22:16:48Z")

</div>

Ok, I know why it isn’t working.

`@import` will only work if it’s the first line in a CSS file. As the customizations are alphabetically ordered before being combined together, if you happen to name your font loading customization ‘Fonts’ it probably won’t be the first in the list which means `@import ...` will be halfway down your custom css file when it’s generated.

So as @Trash says, better to use `link` rather than `@import`.

---

_[View the full topic](https://meta.discourse.org/t/loading-google-fonts-with-import/48045)._
