Add font local font

This topic has been marked as not resolved.

Hello. I want to add local font. How can I do it?

 mak633
May 26, 2016 at 8:00 pm #48127

hi,

http://support.themeburn.com/topic/font-face

May 26, 2016 at 9:55 pm #48133

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.

 mak633
May 27, 2016 at 10:03 am #48144

What should I do?

 mak633
May 30, 2016 at 9:01 pm #48236

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

May 31, 2016 at 6:15 pm #48254

http://madcap.com.ua/ this my website.

 mak633
June 1, 2016 at 5:15 pm #48282

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

June 2, 2016 at 10:08 am #48303

I tried and I turned off cache. It doesn’t help me.

  • This reply was modified 2883 days ago by  mak633.
  • This reply was modified 2883 days ago by  mak633.
 mak633
June 3, 2016 at 10:04 am #48375

Can you help me. I am stuck.

 mak633
June 6, 2016 at 8:47 am #48434

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

June 9, 2016 at 10:08 am #48521
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.