Custom font for menu?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
uniqu3

Re: Custom font for menu?

Post by uniqu3 »

Actually i this would of been better solution:
@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;
}
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

Re: Custom font for menu?

Post by mox »

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
Brzezi
New Member
New Member
Posts: 7
Joined: Tue Feb 14, 2012 10:38 am

Re: Custom font for menu?

Post by Brzezi »

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]] ?
Post Reply

Return to “Layout and Design (CSS & HTML)”