K
K
KurtsKhalia2014-12-19 19:16:13
css
KurtsKhalia, 2014-12-19 19:16:13

Why doesn't @import from google fonts work?

For some reason it doesn't work. It is at the very beginning of the file. I could manually connect it, but the font has a lot of boldness, and as I understand it, you can’t connect them all with one font-face.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alim Alibaev, 2014-12-19
@a4gg

@importis written to a .css file, if it still doesn't work, paste it through<link>

M
Maxim Budin, 2014-12-19
@Kees

Maybe multiple style files? If Bootstrap, then its style is included first.
The import must be done before the styles are defined, even if there are multiple files.

A
Alexander Aksentiev, 2014-12-19
@Sanasol

And the font of the text itself was changed to the connected one? If you just connect it, it will not change all the text at once

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question