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
  • Created
  • Last Reply

Top Posters In This Topic

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

Where is newsletter block?

Where is image block button?

Product text, you mean product name? Add to Home > design > Custom CSS

.product-block .productDetails .product-title {
    font-family: Hwy;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 month later...

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.