A
A
August Milovich2019-03-18 21:29:41
Icons
August Milovich, 2019-03-18 21:29:41

Can't connect icon fonts?

Hello! I decided to connect icon fonts, I'm connecting for the first time, and I can't figure out what to do.
This is the download link: https://www.pixeden.com/icon-fonts/stroke-7-icon-f...
This is the documentation: themes-pixeden.com/font-demos/7-stroke/documentati...
I read the documentation, but it’s not clear what to do there (maybe I didn’t translate something, it’s bad with English, but there’s no exact instructions there), where can I get a css file with connected fonts, if the fonts themselves are downloaded in ai and eps formats, does not work. This is how I tried to include:
@fontface{
font-family: icon;
src: url('Weather-Color_icon_set.ai');
font-weight: 400
font-style: normal
}
Help, if someone already knows and connected this, direct me to the true path.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Flying, 2019-03-19
@CodeInMyHeart

.aiis an Adobe Illustrator format, it is clearly not a font. Just use real web fonts (the extension must be .woff2or .woff).
If you only have a desktop version of the font (for example, with the extension .ttfor .otf) - then the web version can be obtained using the FontSquirrel generator .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question