Referencing fonts in the CSS - Joomla! Forum - community, help and support
in templatedetails.xml file have following line
the structure of folder follows:
fonts
->philosopher-bold
-> philosopher-regular
with font files in respective folders.
my template.css file has following:
my normal html site works fine moment try doing same thing in joomla, fonts not pull through.
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
http://www.google.com/webfonts
Comments
Post a Comment