The font will be used on the website. And while it is easy to add style sheets to I do need to put the actual font files somewhere and reference them in the style sheet.
I guess more specifically, where do I put the font files and what would the reference path be for my style sheet.
I'm new to Umbraco and was under the impression that when I added a folder in my solution in Visual studio it did not add the files in the Umbraco website...lol don't ask.
So I added a font folder in my VS solution and called it font and my reference path for my font face looks like this:
I'll try to revive this topic by asking exactly the same question - but with the additional proviso that I'm not using Visual Studio, so the apparent solution above doesn't apply.
I simply want to change a font-face setting in the css stylesheet (I know how to do this), but it needs to reference the relevant font in the font-folder - and I can't see how to access this from the web-based CMS interface? Am I overlooking something very obvious?
How do I add font files?
I'm planning to use an icon font (Font Awesome) for a website...but how do I add the files in the admin panel?
Ideally I'd see a Font folder in the settings, but it doesn't look like it's going to work that way.
I'm very new to Umbraco.
Thanks in advance!
Hi Christine,
Where do you want to use font? Font-face don't suit you?
In admin part ?
Thnaks
Hi Alex,
The font will be used on the website. And while it is easy to add style sheets to I do need to put the actual font files somewhere and reference them in the style sheet.
I guess more specifically, where do I put the font files and what would the reference path be for my style sheet.
Thanks!
Ah I have answered my question!
I'm new to Umbraco and was under the impression that when I added a folder in my solution in Visual studio it did not add the files in the Umbraco website...lol don't ask.
So I added a font folder in my VS solution and called it font and my reference path for my font face looks like this:
@font-face {
font-family: 'FontAwesome';
src: url('../font/fontawesome-webfont.eot?v=3.0.1');
src: url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
url('../font/fontawesome-webfont.woff?v=3.0.1') format('woff'),
url('../font/fontawesome-webfont.ttf?v=3.0.1') format('truetype');
font-weight: normal;
font-style: normal;
}
All is working :)
Cool )) Umbraco is awesome )
I'll try to revive this topic by asking exactly the same question - but with the additional proviso that I'm not using Visual Studio, so the apparent solution above doesn't apply.
I simply want to change a font-face setting in the css stylesheet (I know how to do this), but it needs to reference the relevant font in the font-folder - and I can't see how to access this from the web-based CMS interface? Am I overlooking something very obvious?
is working on a reply...