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 2456 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

hi team, there doesn’t appear to be all Google Fonts available as listed here https://fonts.google.com/
Can you guide how to allow them. We are using Pavilion with OC.

January 20, 2020 at 12:13 pm #67975

Hi
anyone can tell me how I can use a google font as local?
I would like to serve it from local to improve performance.
Thank you

 Solar
April 5, 2021 at 4:20 pm #68035
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.