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
  • Views 630
  • 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 the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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.