add new fonts to theme fonts’ list

ThemeBurn SupportForumsOpenCart ThemesTechnopolis OpenCart Themeadd new fonts to theme fonts’ list

This topic has been marked as not resolved.

Hello

i want to add my own fonts to theme font list  to make me able change it easily .

 

 

thank you

July 3, 2017 at 8:12 am #60157

Hi,

Unfortunately, this is not possible. Fonts in the dropdown list are only coming from Google fonts directory and at this moment cannot be expanded.

If you want to use some other custom type, you will need to use the technique described here:

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

We will help you if you have any troubles when integrating your font.

BR,
ThemeBurn team

July 3, 2017 at 11:34 am #60162

Hello

i put my font in the following folder :

catalog/view/theme/BurnEngine/fonts /Yekan.eot

now how can i address it and add to my css ?

thank you

  • This reply was modified 74 days ago by  mohammadne.
August 5, 2017 at 6:26 pm #60809

Hi,

EOT font type is used only for older versions of Internet Explorer (IE6-IE8) which are not supported by Technopolis. You should use WOFF or/and WOFF2 / TTF / SVG font type.

Here is the code that you need to add in your Custom Stylesheet Panel:

@font-face {
  font-family: 'Yekan';
  src: url('../../../catalog/view/theme/pavilion/font/Yekan.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../../catalog/view/theme/pavilion/font/Yekan.woff') format('woff'), /* Pretty Modern Browsers */
       url('../../../catalog/view/theme/pavilion/font/Yekan.ttf')  format('truetype'); /* Safari, Android, iOS */
}

BR,
ThemeBurn team

August 7, 2017 at 12:34 am #60829
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.