lykmapipo / themify-icons

Pixel-perfect, hand-crafted icons that draw inspiration from Apple iOS 7
http://themify.me/themify-icons
97 stars 53 forks source link

Browsers fail to load resources (ttf, woff) #1

Closed fongreecss closed 8 years ago

fongreecss commented 8 years ago

I've been using themify-icons on one of my WordPress projects online. Fonts worked well on localhost, but failed after I deployed them online. I've tested this only on latest Chrome and Firefox. I've found the problem is in these lines of codes:

@font-face {
    font-family: 'themify';
    src:url('fonts/themify.eot?-fvbane');
    src:url('fonts/themify.eot?#iefix-fvbane') format('embedded-opentype'),
        url('fonts/themify.woff?-fvbane') format('woff'),
        url('fonts/themify.ttf?-fvbane') format('truetype'),
        url('fonts/themify.svg?-fvbane#themify') format('svg');
    font-weight: normal;
    font-style: normal;
}

After removing fvbane from it it worked fine

@font-face {
    font-family: 'themify';
    src:url('fonts/themify.eot');
    src:url('fonts/themify.eot?#iefix') format('embedded-opentype'),
        url('fonts/themify.woff') format('woff'),
        url('fonts/themify.ttf') format('truetype'),
        url('fonts/themify.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
lykmapipo commented 8 years ago

@frasaleksander

Thanks for the add. Let me communicate changes

lykmapipo commented 8 years ago

@frasaleksander

see v0.1.1

fongreecss commented 8 years ago

thanks :)

andrueastman commented 7 years ago

thanks :)

lykmapipo commented 7 years ago

Am going to update it and publish it both in bower and npm.

On 28 Aug 2016 08:19, "Eastman" notifications@github.com wrote:

thanks :)

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/lykmapipo/themify-icons/issues/1#issuecomment-242956953, or mute the thread https://github.com/notifications/unsubscribe-auth/ABiUaZcyLfx8bYIDZ4RO6-bzpMO-qw69ks5qkRp4gaJpZM4IPwyO .

TharakaMadhusanka commented 6 years ago

This worked ! Great ! :D

RubanSarathkumar commented 6 years ago

Thanks, It's Working fine! :D

ProfOJ commented 5 years ago

Wow. it worked. God bless you . I have been stuggling with this for quite a long time.

thisaccountdeletedman commented 5 years ago

Thanks! Finally.

asfiaaiman commented 2 years ago

It is not working for me