@font-face {
font-family: 'EqualityItalic';
src: url([[root_url]]/uploads/images/equality-bookitalic-webfont.eot);
src: local('EqualityItalic'), local('Equality-BookItalic'), url([[root_url]]/uploads/images/equality-bookitalic-webfont.woff) format('woff'), url([[root_url]]/uploads/images/equality-bookitalic-webfont.ttf) format('truetype');
url('([[root_url]]/uploads/images/equality-bookitalic-webfont.svg#webfontJjeaD3Kn') format('svg');
font-weight: normal;
font-style: normal;
}
Custom font for menu?
Re: Custom font for menu?
Actually i this would of been better solution:
Re: Custom font for menu?
Yeah!
I can finally leave the buggy TTT!!!
Thanks to all of this thread.
The problem of the url path in the css, is determined by the uktra buggy {cms_stylesheet} tag.
This tag have many bug in how it serve path, mostly in conjunction with https.
Anyway, if you use the old {stylesheet} tag, the path in your css can return normal, like this:
url(uploads/fonts/blabla.ttf)
Ciao
Maurizio
I can finally leave the buggy TTT!!!
Thanks to all of this thread.
The problem of the url path in the css, is determined by the uktra buggy {cms_stylesheet} tag.
This tag have many bug in how it serve path, mostly in conjunction with https.
Anyway, if you use the old {stylesheet} tag, the path in your css can return normal, like this:
url(uploads/fonts/blabla.ttf)
Ciao
Maurizio
Re: Custom font for menu?
Hi,
I've used @font-face on my site but there's another problem besides only adding it to your css.
When you enter to your site using address with "www." (eg. 'www.mysite.com') css loads fonts and everything is all right but when you try to do "this" using adress whitout "www." (eg. 'mysite.com') it doesn't load them.
Everything becouse of [[root_url]]!
Could someone help me how to fix this.
Maybe you could give me a link to a topic which explains how to set multiple [[root_url]] ?
I've used @font-face on my site but there's another problem besides only adding it to your css.
When you enter to your site using address with "www." (eg. 'www.mysite.com') css loads fonts and everything is all right but when you try to do "this" using adress whitout "www." (eg. 'mysite.com') it doesn't load them.
Everything becouse of [[root_url]]!
Could someone help me how to fix this.
Maybe you could give me a link to a topic which explains how to set multiple [[root_url]] ?