Jump to content

How do I change the font using CSS?

Recommended Posts

Hi Squarespace family -

Small business here. I am trying to change the font all across my site using one font, nothing crazy. I am using the font Staatliches from Google fonts. However it is not working.

I am using Safari as a browser and trying to change font using CSS. Here is the code:


@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
@font-face{font-family: 'Staatliches', cursive;}


Can anyone tell me what I'm doing wrong? Thank you for your help.

Edited by mom_and_pop_business
Link to comment
  • Replies 1
  • Views 240
  • 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.