Grow your CSS skills. Land your dream job.

@font-face problem on mobile

  • # December 11, 2012 at 5:24 pm

    Changed and it works! =) the problem was that we were missing the “css” folder right? =)
    can I ask you why it should work on mobile with this URL?

    # December 11, 2012 at 5:29 pm

    Correct. You were linking to the file incorrectly.

    It should work on mobile because you are now pointing correctly to the file and you’re supporting svg .

    Update: I just tested your site on my iPhone and it works.

    # December 11, 2012 at 5:36 pm

    Ok I’ll let you know tomorrow because I don’t have wi-fi and I need to go to university for this..
    Really dont’ know how to thank you! =)
    And do you know what is the right way to give attribution to the font?

    # December 11, 2012 at 5:42 pm

    Great!!! thanks chris! :D

    # December 11, 2012 at 5:49 pm

    @sorrentandrea In this css file: http://www.andreasorrentino.eu/new/css/style.css

    Add the following at the top of the page:

    /* A font by Jos Buivenga (exljbris) -> http://www.exljbris.com */

    # December 11, 2012 at 5:55 pm

    Thanks one more time =)

    # December 12, 2012 at 11:19 am

    @chrisburton I opened the website on my ipod touch and the problem is still here.. the only font that doesn’t charge is the League Gothic Condensed(about page), I’m thinking to use TipeKit for it.. what do you think? it’s possible that it doesn’t charge for “name problem”(League Gothic Condensed is an extension of League Gothic)?

    # December 12, 2012 at 11:33 am

    @sorrentandrea Typekit would definitely solve the problem and maybe give you a higher quality output depending if they re-hinted. I’m still stuck as to why it isn’t working. It could be a number of things.

    The actual `font-family: “Name”;` doesn’t matter as long as it’s pointing to the correct file.

    # December 16, 2012 at 6:25 am

    Hi chris I made yesterday an update to my ipod and now it display all the font in the correct way =)

    # December 16, 2012 at 8:25 am

    Glad you have it worked out.

Viewing 10 posts - 31 through 40 (of 40 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".