Home Forums WoodMart support forum Forbid to upload all fonts from Woodmart

Forbid to upload all fonts from Woodmart

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #277083

    AivenPost
    Participant

    ‘Day! I fixed full uploading of Google fonts and left only needed for me:

    https://fonts.googleapis.com/css?family=Nunito&display=swap

    <!– Code snippet to speed up Google Fonts rendering: googlefonts.3perf.com –>
    <link rel=”dns-prefetch” href=”https://fonts.gstatic.com”&gt;
    <link rel=”preconnect” href=”https://fonts.gstatic.com&#8221; crossorigin=”anonymous”>
    <link rel=”preload” href=”https://fonts.googleapis.com/css?family=Nunito&display=swap&#8221; as=”fetch” crossorigin=”anonymous”>
    <script type=”text/javascript”>
    !function(e,n,t){“use strict”;var o=”https://fonts.googleapis.com/css?family=Nunito&display=swap&#8221;,r=”__3perf_googleFonts_ba3de”;function c(e){(n.head||n.body).appendChild(e)}function a(){var e=n.createElement(“link”);e.href=o,e.rel=”stylesheet”,c(e)}function f(e){if(!n.getElementById(r)){var t=n.createElement(“style”);t.id=r,c(t)}n.getElementById(r).innerHTML=e}e.FontFace&&e.FontFace.prototype.hasOwnProperty(“display”)?(t[r]&&f(t[r]),fetch(o).then(function(e){return e.text()}).then(function(e){return e.replace(/@font-face {/g,”@font-face{font-display:swap;”)}).then(function(e){return t[r]=e}).then(f).catch(a)):a()}(window,document,localStorage);
    </script>
    <!– End of code snippet for Google Fonts –>

    Can I forbid downloading all fonts from Woodmart however? The same for previous example
    Best Regards

    #277099

    Artem Temos
    Keymaster

    Hello,

    If you want to remove all WoodMart Google fonts, you need to go Dashboard -> Theme Settings -> Typography and make sure that no fonts are selected there.

    Kind Regards

Tagged: 

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