01 Aug 2011
14 Dec 2011
Link to this post
So I have a project that uses custom fonts that get served down to the client via IIS6. IIS is configured properly with the mime types being declared so that they can be sent to the browsers. I've previously got the project to work in pure ASP.NET pages so I know the font files / server configuration is correctly setup.
I've referenced the fonts as follows in the CSS file (Just showing one for example):
src: url('Types/tiza-webfont.eot?#iefix') format('embedded-opentype'),
These fonts are stored in a folder called 'Types' located in the 'Global' folder where the calling .css file resides. These fonts aren't however being applied to the asp:contentholders that they are designed for once a CMS user has entered text into the contentholder. I've seen the instructions on adding fonts to the rad editor, content / blogs controls etc etc. and was wondering exactly what steps I need to take so that my site will recognize the custom font files that I have created so they can be used throughout the site eg. where do i put the font files physically in the project? Is there any configuration files that need to be setup with references to the custom fonts? What steps am I missing in general to be able to use my custom font files? Thanks in advance.
For more info, this is how I have a class delcared in the CSS File:
And how I reference it in the master page:
<div class=BottomTitle><asp:ContentPlaceHolder ID="BottomLeftTitle" runat="server"/></div>