Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Custom Webfont doesnt work in Chrome and Firefox

Custom Webfont doesnt work in Chrome and Firefox

Scheduled Pinned Locked Moved Bug Reports
5 Posts 3 Posters 438 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    W
    weodeo
    wrote on last edited by
    #1

    Hey Guys,
    my local embedded google font "abel" doesnt work on desktop in the browser chrome and firefox. Instead there is an placeholder font. Why?
    And if this cant be solved, is there a way to change the placeholder font to "Arial" or an non serif font?
    Strangely enough the font works correctly in Safari and on iphones.

    The site ist: gebrüder-wessa.de

    Thanks a lot!

    1 Reply Last reply
    0
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear @weodeo

      In your CSS its correct that you have 'abel' as your font:
      Screen Shot 2021-03-12 at 9.17.48 PM.png

      However in your Console i can see that its being blocked:
      Screen Shot 2021-03-12 at 9.16.26 PM.png

      https://www.google.com/search?q=CORS+policy%3A+No+'Access-Control-Allow-Origin'+header+is+present+on+the+requested+resource.&oq=CORS+policy%3A+No+'Access-Control-Allow-Origin'+header+is+present+on+the+requested+resource.&aqs=chrome..69i57.1249j0j4&sourceid=chrome&ie=UTF-8

      Talk soon
      Richard

      1 Reply Last reply
      0
      • W
        W
        weodeo
        wrote on last edited by
        #3

        Dear @Richard
        thanks for your response!

        Thats interesting.. So .. is there a way to fix it?
        Ive never heard about CORS policy, google says that you need an browser addon, but thats not very practical :(

        Any tips?

        Best
        Denns

        1 Reply Last reply
        0
        • F
          F
          felix_rabe
          wrote on last edited by felix_rabe
          #4

          @weodeo if you have a ttf or otf file of the font, convert it to woff with an online font converter. delete the font-file you are using and replace it with the new file and see if it works.

          1 Reply Last reply
          0
          • RichardR
            RichardR
            Richard
            Global Moderator
            wrote on last edited by
            #5

            Dear @fr

            Thats a great idea, of course! - Thank you : )

            Best
            Richard

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            Online Users
            Z
            zachludlow
            A
            Anna_S
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search