raviriley / agency-jekyll-theme

Jekyll version of the newest Agency Bootstrap theme, plus new features: Google Analytics, Markdown support, custom pages, and more!
https://raviriley.github.io/agency-jekyll-theme-starter/
MIT License
347 stars 689 forks source link

Change Font #13

Closed Frants1987 closed 3 years ago

Frants1987 commented 3 years ago

Hi, first of all, great theme. I just wanted to know how to change the font from font-awesome to something else? Thanks

raviriley commented 3 years ago

Thanks!

Font Awesome is the source for all the icons in the theme.

Are you trying to use a different icon source? If not, what fonts are you trying to change?

Frants1987 commented 3 years ago

No, not a different icon source but a different font (Lexend Deca). Currently the fonts are defined in the all.min.css file which is by definition not really readable. It would be nice to define it in the _config.yml.

raviriley commented 3 years ago

Got it, added customizable fonts to style.yml to the todo list.

raviriley commented 3 years ago

@Frants1987 what font are you trying to change that you want customizability for? If you're looking to change things for many fonts, you can use an unminifier on all.min.css or other relevant minified files and make the changes that way, using something like this.

Frants1987 commented 3 years ago

I wanted to change the font of the text blocks and did it as you suggested, unminifying the all.min.css and changing the fonts manually. I just thought it would be more convenient to have a config parameter in one of the yml files. Btw. the font I use is lexend.deca from google.

raviriley commented 3 years ago

Sounds good, I'll leave your suggestion on the to-do list but glad you figured it out!