Jump to content

Custom Font doesn't work for newsletter block

Go to solution Solved by Lesum,

Recommended Posts

I currently have some CSS for a custom OTF font I uploaded, It works across all Headings except the newsletter form.

I have tried a few methods I've found on these forums, but nothing has worked, it just changes it to the paragraph font, this is what I've used so far:


@font-face {

    font-family: 'FontTitle';

       src: url('https://static1.squarespace.com/static/6655e8b66a3cb20d523b1bd1/t/666887df7db23d789c82b082/1718126559744/PPTelegraf-UltraBold.otf');

  }

h1 {font-family: 'FontTitle';}
  h2 {font-family: 'FontTitle';}
 h3 {font-family: 'FontTitle';}
h4 {font-family: 'FontTitle';}

h1.newsletter-form-header-title {
    font-family: "PPTelegraf-UltraBold" !important;

Link to comment
  • Replies 2
  • Views 825
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

@ArtificialVisions I replied to your other post. You're referencing the font incorrectly. So it should be 

font-family: 'FontTitle' !important;

But you added

font-family: "PPTelegraf-UltraBold" !important;

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment

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.