Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter riccosgd

    (@riccosgd)

    Hello,
    yes that is right, but i dont change upload path or config file…

    In the file.php the path on line 390 is original path. And the original folder exist in upload folder.

    Also to resolve my problem, i have create the folder and set write permission to 777 but the message is still there.

    • This reply was modified 5 years, 6 months ago by riccosgd.
    • This reply was modified 5 years, 6 months ago by riccosgd.
    • This reply was modified 5 years, 6 months ago by riccosgd.
    • This reply was modified 5 years, 6 months ago by riccosgd.

    I have found a way, and you can do this by yourself:

    open the link from your google font in browser and copy all of this:
    /* Example */

    
    @font-face {
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 400;
      src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v16/mem8YaGs126MiZpBA-UFWJ0bbck.woff2) format('woff2');
      unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
    }
    

    Next Step
    Create a new CSS file with text editor and paste the copied font files in there.
    Next write after font-family this:
    /* Example */

    
    font-display:block;
    

    Next Step
    Save file and load in your Theme CSS Folder and import the created file into your style CSS with this way

    
    @import url('css/myfont.css'); 
    

    Next Step
    remove your old google font links from your theme.

    Thats all, your be done and PageSpeed will show you no more a message to this.

Viewing 2 replies - 1 through 2 (of 2 total)