Hello. I want to add local font. How can I do it?
|
|
I downloaded my font to the folder font and added to custom stylesheet it.
@font-face{
font-family: ‘smeshariki_fontregular’;
src: url(“../../../catalog/view/theme/BurnEngine/font/smeshariki/smeshariki-webfont.woff2″) format(‘woff2′),
src: url(“../../../catalog/view/theme/BurnEngine/font/smeshariki/smeshariki-webfont.woff”) format(‘woff’);
font-weight: normal;
font-style: normal;
}
h1,h2,h3,p,span{
font-family: ‘smeshariki_fontregular’;
}
But nothing happens.
|
|
Hi,
You need to make sure font is loaded and that font family is set correctly. We cannot give more directions than those we’ve given here:
http://support.themeburn.com/topic/font-face
We could take a quick look at your website, if it is live.
BR,
ThemeBurn team
|
|
http://madcap.com.ua/ this my website.
|
|
Hi,
We cannot see the custom code that add the external font in your CSS. Have you tried to clear your theme cache?
BR,
ThemeBurn team
|
|
I tried and I turned off cache. It doesn’t help me.
-
This reply was modified 2856 days ago by mak633.
-
This reply was modified 2856 days ago by mak633.
|
|
Can you help me. I am stuck.
|
|
Hi,
There was a small initialization typo in the custom CSS. We’ve fixed it and now the font is loaded and in use.
P.S. Have in mind that this font does not support cyrillic characters.
BR,
ThemeBurn team
|
|