Causing CSS/JS issue because of new fonts
-
Hi,
After activating AMP plugin, I see some issue in the drop-down menu bar. I feel it is something to related with fonts used for AMP.
Earlier I have faced similar issues for a caching plugin and I fixed it by adding following lines in the .htaccess. Please help me.
#WpFastestCache CDN Font Problem
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
<FilesMatch “\.(gif|png|jpe?g|svg|svgz|ico|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “*” env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule><IfModule mod_headers.c>
<FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>
#CDN Font ProblemThe page I need help with: [log in to see the link]
- The topic ‘Causing CSS/JS issue because of new fonts’ is closed to new replies.