Skip to content

Custom (non Font Awesome) icons for contact.yml #1763

Answered by lamininA1
blaurascon asked this question in Q&A
Discussion options

You must be logged in to vote

https://icomoon.io/app/#/select

This site will convert the SVG imgs to font. (even multiple SVGs can be converted.) After that, download it. (You can find the download button and covert button at the bottom of the site.)
There will be fonts folder and style.css. Transfer fonts folder to assets and style.css to assets/css.

You need to change _include/head.html file. There is line. You can put the code like this.

  <!-- Web Font -->
  <link rel="stylesheet" href="{{ site.data.origin[type].webfonts | relative_url }}">
  <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">

Also, You need to change style.css file too, to set the proper URL. ../ is all you need.

@font-face

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@blaurascon
Comment options

Answer selected by blaurascon
Comment options

You must be logged in to vote
1 reply
@blaurascon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants