Jump to content

CSS code for Buttons & Shop

Recommended Posts

Posted

Hello,

I wondered if anyone could help me please... could anyone provide me with CSS code that will change the font-family on buttons please. As well as CSS code to change the font-family for product descriptions, prices etc.

Many thanks in advance!

Hayley

Posted

Hi Hayley, this is the code to change the font of a button. If you already have the font uploaded and inputted you can remove the first part. I'm assuming you mean a custom font, because otherwise you would just be able to find this in site styles.

@font-face {font-family: 'FONTNAME'; src: url(); }

.sqs-block-button-container a{

font-family: 'YourCustomFont' !important;

}

Posted
9 hours ago, hayleykimstudios said:

@Websley That's worked! Thank you so much!!

Don't suppose you know how I can customise the fonts for products too? (e-com site) 

Thank you

No worries! Depends what you need. If it's the product description you can input this and put your font family there:  

.ProductItem-details {
    font-family: 'enter-font-here';
}

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.