Preload Font Site Speed Issue
-
Getting the optimization error on google page speed about preloading fontawesome
I have added this code to header.php between the head tags, but I still get the error. Have tried multiple variations of this code.
<link rel="preload" as="style" href="wp-content/themes/hitmag/css/font-awesome.min.css" /> <link rel=”preload” href=”/wp-content/themes/hitmag/fonts/fontawesome-webfont.woff2?v=4.7.0” as=”font” type="font/woff2" crossorigin />
Does anyone know what I’m doing wrong?
- The topic ‘Preload Font Site Speed Issue’ is closed to new replies.