I am testing @font-face in Magnolia 4.3.6 (using the STK + Pop theme)
without success.

I've placed four fonts in a new webfonts folder at Documents /
templating-kit / themes / pop / img /

I've inserted standard @font-face CSS in styles.css as follows:

@font-face {
font-family: 'ComfortaaRegular';
src: url(../img/webfonts/Comfortaa_Regular-webfont.eot);
src: local('☺'), url(../img/webfonts/Comfortaa_Regular-webfont.woff)
format('woff'), url(../img/webfonts/Comfortaa_Regular-webfont.ttf)
format('truetype'),
url(../img/webfonts/Comfortaa_Regular-webfont.svg#webfontBAjBLipc)
format('svg');
font-weight: normal;
font-style: normal;
}

Plus:   body {font-family: ComfortaaRegular, Verdana, Geneva, Tahoma,
sans-serif; }

No luck. I've tried linking to fonts on a web server and these are rendered
ok. So I presume I'm missing something with the internal linking in Magnolia
(../img/webfonts/ etc).

Any suggestions? Help massively appreciated!

Thanks, Tom.


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to