themefisher / airspace-hugo

Airspace Hugo theme for multipurpose use, like Portfolio, Blog, Business.
https://gethugothemes.com/products/airspace/?utm_source=airspace_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
354 stars 509 forks source link

@import vs <link> for fonts? #57

Closed dakkusingh closed 4 years ago

dakkusingh commented 4 years ago

Hi guys, Any thoughts on changing out the font @import for a <link> instead? Reason being that I am trying to concat and minify and imports arnt working anymore for obvious reasons.

Thoughts?

somratpro commented 4 years ago

Hi there, We used @import in css for font-family. and declare it in h1-h6 and every other tag. so if you want to change the font family, you need to customize the css file.

dakkusingh commented 4 years ago

My question was more around - can we change the import for a link instead? This is due to the issue I explained above.

somratpro commented 4 years ago

Yes, you can do it, but first you should remove the @import from css and replace the font-family with whatever font you want to use.