Jump to content

Custom fonts for other elements, like image blocks, products, buttons etc

Recommended Posts

Site URL: https://heptagon-cylinder-zapw.squarespace.com/

Hi team, I'm all good with adding custom fonts to my sites, but I get stuck with also changing fonts of certain elements, like Image block buttons, newsletter buttons, product text etc.

How do you find our what the css code is for each for each of those elements do direct to the custom font?

So far I have

@font-face {    
font-family: 'Beton';       
src: url('//static1.squarespace.com/static/5eaab659198c9b220538543c/t/5eaac62dc456482814196531/1588250157960/BetonEF-BoldCondensed.ttf');  }
h1 {font-family: 'Beton';}
h2 {font-family: 'Beton';}
h3 {font-family: 'Beton';}
.newsletter-form-header-title {font-family: 'Beton';}

@font-face {    
font-family: 'Zilla';       
src: url('//static1.squarespace.com/static/5eaab659198c9b220538543c/t/5eaac6c546dc317f013fd1ae/1588250311706/ZillaSlab-Regular.ttf');  }
p {font-family: 'Zilla';}


@font-face {    
font-family: 'Hwy';       
src: url('//static1.squarespace.com/static/5eaab659198c9b220538543c/t/5eaffc532907e509154b38d8/1588591700738/HWYGCOND.TTF');  }

.sqs-block-button-element {font-family: 'Hwy';}
.sqs-block-image {font-family: 'Hwy' !important;}
button.newsletter-form-button.sqs-system-button {font-family: 'Hwy' !important;}
.header-nav-item a {font-family: Hwy;
}

 

But I cant get the newsletter block to change header or body fonts. I also cant get the product fonts to change, or the quick view buttons. Or the footer body text.

Thanks for help in advance!

site: https://heptagon-cylinder-zapw.squarespace.com/

pswd: ss2020

Link to comment
  • Replies 6
  • Views 1.5k
  • Created
  • Last Reply

Incorrect password

 

But I cant get the newsletter block to change header or body fonts. I also cant get the product fonts to change, or the quick view buttons. Or the footer body text.

like Image block buttons, newsletter buttons, product text etc.

 

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 5/5/2020 at 12:13 AM, tuanphan said:

Incorrect password

 

But I cant get the newsletter block to change header or body fonts. I also cant get the product fonts to change, or the quick view buttons. Or the footer body text.

like Image block buttons, newsletter buttons, product text etc.

 

 

Oops, sorry, pswd is SS2020

So there's no way to change those fonts?! 

Link to comment
2 hours ago, gilescolliver said:

That worked, thanks!

Newsletter block is the 3rd section, image block (poster) is 4th section.

I don't see newsletter block

with image block, use

div#block-3fa6d963c33f89bc5bd8 * {
    font-family: Hwy;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 month later...

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.