The Joomla! Forum ™





Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Jan 12, 2013 6:53 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Dec 22, 2009 12:47 pm
Posts: 4
not sure if this is the right forum for this issue, but i've been having some problems with ie9 not reading custom fonts. at all.

here's what i have in my stylesheet (which i may add, every other browser reads the font perfectly fine):
Code:
@font-face {
   font-family: 'OswaldBook';
   src: url('../fonts/Oswald-Light-webfont.EOT') !important; /* IE9 */
   src: url('../fonts/Oswald-Light-webfont.EOT') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/Oswald-Light-webfont.woff') format('woff'), /* Modern Browsers */
        url('../fonts/Oswald-Light-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
        url('../fonts/Oswald-Light-webfont.svg#OswaldLight') format('svg'); /* Legacy iOS */
   font-weight: normal; font-style: normal;
   }


the website is www.mainstreettower.com

i am referring only to the navigation menu.
anyone have any input, or have done anything to solve this? the code above *should* make it work. but it doesnt.
i'm also going to note that i hate internet explorer with a passion.


Top
 Profile  
 
PostPosted: Sat Jan 12, 2013 7:53 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Dec 22, 2009 12:47 pm
Posts: 4
figured it out. the code i used:
Code:
@font-face {
    font-family: 'OswaldBook';
    src: url('Oswald-Regular-webfont.eot');
    src: url('Oswald-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('Oswald-Regular-webfont.woff') format('woff'),
         url('Oswald-Regular-webfont.ttf') format('truetype'),
         url('Oswald-Regular-webfont.svg#OswaldBook') format('svg');
    font-weight: normal;
    font-style: normal;

}


and had to put the font files in the same folder as the CSS file


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 



Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group