Jump to content

Google Font Icon - Flash of Unstyled Content

Recommended Posts

Hi,

I'm using Google Font Icons. I've added the stylesheet to my header code injection:

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />

I've added them to my page via code block:

<span class="material-symbols-outlined">
mail
</span>

But on page load I get first the text "mail" and then the icon finishes loading. Is there anything else I can or should be doing or should I just use an image block instead? Thanks 

Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.