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. Webfont issue: 2 fonts working fine; 3rd one doesn't

Webfont issue: 2 fonts working fine; 3rd one doesn't

Scheduled Pinned Locked Moved Bug Reports
5 Posts 3 Posters 268 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.
  • N Offline
    N Offline
    nypaloto
    wrote on Nov 20, 2020, 4:19 AM last edited by
    #1

    Hello. In the past, when launching the site, I added 2 custom fonts using the "Add by "<link>" tag and CSS" method, via Lay Options > Webfonts. Everyone worked and works perfectly fine.

    Now I wanted to add a 3rd font, using the exact same way, but this time, Lay does not recognize the font. Here's what I've done (same thing as with the first 2 fonts):

    Font name: 'Graphik Semibold'
    Woff files: Graphik-Semibold-Web.woff and Graphik-Semibold-Web.woff2

    1. Font files uploaded to wp-content/fonts

    2. CSS added to fonts.css:

    @font-face {
      font-family: 'Graphik Semibold';
      font-style: normal;
      font-weight: 600;![Screen Shot 2020-11-20 at 1.13.52 PM.jpg](/assets/uploads/files/1605845659962-screen-shot-2020-11-20-at-1.13.52-pm-resized.jpg) 
      src: url('https://mk0beigexkd3qtegpvl.kinstacdn.com/wp-content/fonts/Graphik-Semibold-Web.woff2') format('woff2'),
         url('https://mk0beigexkd3qtegpvl.kinstacdn.com/wp-content/fonts/Graphik-Semibold-Web.woff') format('woff');
      font-display: swap;
    }
    

    Note that the src:url points to the CDN, that's where the fonts are located. Again, this is the same as with the previous 2 fonts.

    1. In Lay Options > Webfonts, added the font using the "Add by "<link>" tag and CSS".
      Font name: GraphikSemibold
      Link tag: <link href="https://mk0beigexkd3qtegpvl.kinstacdn.com/wp-content/fonts/fonts.css " rel="stylesheet" type="text/css">
      "font-family" CSS: font-family: 'Graphik Semibold';

    2. Hit Save Changes

    But that doesn't work. See attached screenshot.

    Any ideas why?

    Screen Shot 2020-11-20 at 1.13.52 PM.jpg

    N 1 Reply Last reply Nov 20, 2020, 11:39 AM
    0
    • N nypaloto
      Nov 20, 2020, 4:19 AM

      Hello. In the past, when launching the site, I added 2 custom fonts using the "Add by "<link>" tag and CSS" method, via Lay Options > Webfonts. Everyone worked and works perfectly fine.

      Now I wanted to add a 3rd font, using the exact same way, but this time, Lay does not recognize the font. Here's what I've done (same thing as with the first 2 fonts):

      Font name: 'Graphik Semibold'
      Woff files: Graphik-Semibold-Web.woff and Graphik-Semibold-Web.woff2

      1. Font files uploaded to wp-content/fonts

      2. CSS added to fonts.css:

      @font-face {
        font-family: 'Graphik Semibold';
        font-style: normal;
        font-weight: 600;![Screen Shot 2020-11-20 at 1.13.52 PM.jpg](/assets/uploads/files/1605845659962-screen-shot-2020-11-20-at-1.13.52-pm-resized.jpg) 
        src: url('https://mk0beigexkd3qtegpvl.kinstacdn.com/wp-content/fonts/Graphik-Semibold-Web.woff2') format('woff2'),
           url('https://mk0beigexkd3qtegpvl.kinstacdn.com/wp-content/fonts/Graphik-Semibold-Web.woff') format('woff');
        font-display: swap;
      }
      

      Note that the src:url points to the CDN, that's where the fonts are located. Again, this is the same as with the previous 2 fonts.

      1. In Lay Options > Webfonts, added the font using the "Add by "<link>" tag and CSS".
        Font name: GraphikSemibold
        Link tag: <link href="https://mk0beigexkd3qtegpvl.kinstacdn.com/wp-content/fonts/fonts.css" rel="stylesheet" type="text/css">
        "font-family" CSS: font-family: 'Graphik Semibold';

      2. Hit Save Changes

      But that doesn't work. See attached screenshot.

      Any ideas why?

      Screen Shot 2020-11-20 at 1.13.52 PM.jpg

      N Offline
      N Offline
      nypaloto
      wrote on Nov 20, 2020, 11:39 AM last edited by nypaloto Nov 20, 2020, 6:42 AM
      #2

      And by the way, this is my site: https://beige.company

      Thanks!

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rioma7
        wrote on Nov 20, 2020, 4:38 PM last edited by
        #3

        I have the same problem with MOSTRA NUOVA

        1 Reply Last reply
        0
        • N Offline
          N Offline
          nypaloto
          wrote on Nov 21, 2020, 1:01 PM last edited by
          #4

          So, in the end, this seems to have been a caching issue - at least that's my guess. I cleared the cache (server-side), and the font works now correctly. All good!

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Richard
            Global Moderator
            wrote on Nov 23, 2020, 2:29 AM last edited by
            #5

            Dear @nypaloto

            Awesome! thanks for updating - great to know :)

            Best
            Richard

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

            4/5

            Nov 21, 2020, 1:01 PM


            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
            M
            Markus
            29 minutes ago
            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.
            4 out of 5
            • First post
              4/5
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search