Referencing fonts in the CSS - Joomla! Forum - community, help and support


in templatedetails.xml file have following line

code: select all

<folder>fonts</folder>

the structure of folder follows:
fonts
->philosopher-bold
-> philosopher-regular

with font files in respective folders.

my template.css file has following:

code: select all

@font-face {
   font-family: 'philosopher-bold';
   src: url('../fonts/philosopher-bold/philosopher-bold.eot');
   src: url('../fonts/philosopher-bold/philosopher-bold.woff') format('woff'), url('../fonts/philosopher-bold/philosopher-bold.ttf') format('truetype'), url('../fonts/philosopher-bold/philosopher-bold.svg') format('svg');
}

my normal html site works fine moment try doing same thing in joomla, fonts not pull through.

you can try using google webfonts, since font listed there, wont face issues.

http://www.google.com/webfonts





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support