Jump to content

My customised font keeps disappearing

Recommended Posts

Posted

Site URL: https://heron-cone-ymeh.squarespace.com/%20(private)

Hi! 

My client wants to use a cursive font sparingly on their website. I'm using the code block to bring this into the design. 

This is the code I have used: 

<html>
<head>
<style>
.h2 {
  font-family: "Adventure", Adventure, other;
 font-size: 60px;
 text-align: center;
}

</style>
</head>

<h2>
<p class="h2">This is the text</p>
</head>
</html>

When I work on it, it displays properly with the changed font. As soon as I hit save, it disappears. 

I've tried looking at it incognito after making the site public. 

What am I doing wrong?

Please , please help!

  • Replies 1
  • Views 347
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.