Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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. Problem adding .woff Fonts

Problem adding .woff Fonts

Scheduled Pinned Locked Moved Bug Reports
7 Posts 3 Posters 147 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.
  • M Offline
    M Offline
    monoflop
    wrote on last edited by
    #1

    I have a problem adding .woff Fonts to Laytheme Webfonts. I can upload TTF, WOFF and WOFF2 files into the media library, without any problems, but when it comes to adding webfonts via Lay Options it doesn't recognise WOFF files, but it recognises the TTF and WOFF2 files. I tried this with different fonts too and the same issue occurred. It doesn't seem to be the typical Wordpress MIME upload problem.

    T 1 Reply Last reply
    0
    • M monoflop

      I have a problem adding .woff Fonts to Laytheme Webfonts. I can upload TTF, WOFF and WOFF2 files into the media library, without any problems, but when it comes to adding webfonts via Lay Options it doesn't recognise WOFF files, but it recognises the TTF and WOFF2 files. I tried this with different fonts too and the same issue occurred. It doesn't seem to be the typical Wordpress MIME upload problem.

      T Offline
      T Offline
      thomasmaier
      wrote on last edited by
      #2

      @monoflop You should add the webfonts not via the Media library directly but via the Lay Options > Webfonts menu to also be able to choose a nice name.

      But I also have found out that the woff/woff2 support is buggy at best (not totally cross-browser compatible for unknown reasons) and ttf is the only way. So my usual way is to convert any kind of font format to ttf before uploading it. I have no idea why otf is restricted which would be my first choice usually.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        monoflop
        wrote on last edited by
        #3

        I added the fonts via Lay Options > Webfonts, but this also opens the Media Library uploader. The media library also recognizes the file type as a font, but there is no way to add the font to Lay Options or use it in a text format.

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            monoflop
            wrote on last edited by
            #5

            Hi @arminunruh
            At the moment I'm developing the website offline with Local WP, so I can't really send you a link. Anything also that I could try to make LayTheme recognize Woff fonts? The Media Library recognizes them as fonts btw, file format (MIME Tyep) is font/woff
            Thanks

            1 Reply Last reply
            0
            • M Offline
              M Offline
              monoflop
              wrote on last edited by
              #6

              I did a little more testing and debugging for this WOFF Font problem and I really hope someone can help me to figure it out.
              The upload and Wordpress MIME Type recognition is not the problem and works with TTF, WOFF and WOFF2 Fonts.
              But the Laytheme fontsmanager just recognizes the Type correctly for TTF and WOFF2 Fonts = "attachment/truetype" for TTF or "attachment/woff2" for WOFF2.
              For WOFF Fonts it just says "attachment/"

              Font_Problem.jpg

              1 Reply Last reply
              0
              • arminunruhA Offline
                arminunruhA Offline
                arminunruh
                Global Moderator
                wrote on last edited by
                #7

                when u upload ur website to a webhost i can help you if you send your /wp-admin/ login data

                for now you can google "woff to woff2" or "woff to ttf" to find file conversion websites

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                I also code custom websites or custom Lay features.
                šŸ’æ Email me here: šŸ’æ
                info@laytheme.com

                Before you post:
                1. When using a WordPress Cache plugin, disable it or clear your cache.
                2. Update Lay Theme and all Lay Theme Addons
                3. Disable all Plugins
                4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                This often solves issues you might run into

                When you post:
                1. Post a link to where the problem is
                2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                Online Users
                A
                alasdair17
                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