Jump to content

code to change font add to cart button

Recommended Posts

hi!

anyone know the CSS to update the font of the 'add to cart' button?

i've already uploaded my own custom font using this:

@font-face {

    font-family: 'freeland';

       src: url(https://static1.squarespace.com/static/61705697f087bf34dd72257f/t/61a809b79b8e6b1d26f75aee/1638402488206/Freeland.otf);}

i want to use freehand for the button. thank you!

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment
15 minutes ago, StephanieMace said:

hi!

anyone know the CSS to update the font of the 'add to cart' button?

i've already uploaded my own custom font using this:

@font-face {

    font-family: 'freeland';

       src: url(https://static1.squarespace.com/static/61705697f087bf34dd72257f/t/61a809b79b8e6b1d26f75aee/1638402488206/Freeland.otf);}

i want to use freehand for the button. thank you!

Try adding to Home > Design > Custom Css

.sqs-add-to-cart-button-inner {
  font-family: 'Your font';
}

Let me know how it works on your site

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.