Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS @font-face and data-icon work locally not but on host

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #38405
    cpyle0819
    Participant

    Hi all,
    I’ve used the data-icon:before attribute to create some icons at the top of my page. This has been working fine on my localhost but not on my free host.

    I’m using the PUA format and again this works just fine locally.

    This is what it should be. click

    This is what it is click

    Any help is appreciated.
    Thank you,
    Corey

    #104303
    cpyle0819
    Participant

    bump, still no clue on this one. I’m hoping it’s an issue with the free host and when it goes to a ‘real’ host it won’t be an issue. Still, if it’s not that I’d like to nip it.

    #104306
    TheDoc
    Member

    Did you upload the fonts to your server? They seem to be returning a 404 for me.

    #104307

    You seem to have uploaded SVG, TTF and WOFF, but not EOT.

    #104310
    TheDoc
    Member

    You seem to have uploaded SVG, TTF and WOFF, but not EOT.

    haha of course, the only one I checked was the EOT and I just assumed the rest were going to be a 404 as well.

    #106608
    cpyle0819
    Participant

    Still having the sameproblem. I’ve re-uploaded the fonts and the css. I’ve checked that my code is correct. The data-* attribute has been assembled using the CSS Tricks Article as a guide. I’m getting empty boxes where my icons should be. This works 100% okay locally.

    #106609
    cpyle0819
    Participant

    Uh, never mind. It’s working now.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.