Magento 1.8.1 – How to Add Custom Font as Base Font

ce-1.8.1.0csshtmljavascriptPHP

i am new in magento and i want to change my magento base font.

i found this code:

@font-face {   font-family: 'MyWebFont';   src: url('BYekan.eot'); /* IE9 Compat Modes */   src: url('BYekan.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('BYekan.woff') format('woff'), /* Modern Browsers */
       url('BYekan.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('BYekan.svg#svgFontName') format('svg'); /* Legacy iOS */ }

and i have this font files:

BYekan.woff
BYekan.eot
BYekan.ttf

where should i copy that code? and where should i upload font files?

Best Answer

i found answer here: Custom typography in Magento – @font-face

http://inchoo.net/ecommerce/magento/custom-typography-in-magento-font-face/

Related Topic