Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
fongreecss opened this issue Apr 26, 2016 · 10 comments
Closed

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

fongreecss opened this issue Apr 26, 2016 · 10 comments

Comments

@fongreecss
Copy link

fongreecss commented Apr 26, 2016

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
Copy link
Owner

@frasaleksander

Thanks for the add. Let me communicate changes

@lykmapipo
Copy link
Owner

@frasaleksander

see v0.1.1

@fongreecss
Copy link
Author

thanks :)

1 similar comment
@andrueastman
Copy link

thanks :)

@lykmapipo
Copy link
Owner

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
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiUaZcyLfx8bYIDZ4RO6-bzpMO-qw69ks5qkRp4gaJpZM4IPwyO
.

@TharakaMadhusanka
Copy link

This worked ! Great ! :D

@RubanSarathkumar
Copy link

Thanks, It's Working fine! :D

@ProfOJ
Copy link

ProfOJ commented Sep 6, 2018

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

@thisaccountdeletedman
Copy link

Thanks! Finally.

@asfiaaiman
Copy link

It is not working for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants