Support » Plugin: Self-Hosted Google Fonts » Issue on compatibility?

  • Hello,

    the description says it’s is compatible with any theme and also with auto-optimize. I used it for this domain:
    https://www.testing-board.com

    Any idea why it is activated and processing but still make http calls to google to load the fonts?

    best regards
    Manni

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author asadkn

    (@asadkn)

    Hi Manni,

    I am seeing this in your CSS file:

    @font-face{font-family:'Noto Sans';font-style:normal;font-weight:400;src:local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v7/o-0IIpQlx3QUlC5A4PNr5TRF.ttf) format('truetype')}@font-face{font-family:'Oswald';font-style:normal;font-weight:400;src:local('Oswald Regular'), local('Oswald-Regular'), url(https://fonts.gstatic.com/s/oswald/v16/TK3iWkUHHAIjg752GT8D.ttf) format('truetype')}

    This is the wrong way to add a font to a theme. These font URLs can change any time and have unnecessary high size and may not work on all browsers. If you added it yourself, please use a standard way of adding fonts and it will work fine (Google on how to add google fonts to wordpress themes) or contact your theme author.

    I use a theme of https://mythemeshop.com

    Can you give any advice or tip how to implement google fonts on the correct way to make it compatible for example to your plugin? I will forward it to mythemeshop.com then.

    Best regards
    Manni

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue on compatibility?’ is closed to new replies.