Jump to content

Customizing the Checkout Button and Checkout Page

Go to solution Solved by paul2009,

Recommended Posts

Site URL: http://www.dakineskava.com

Hi there! I'm looking for the custom coding to change the size and font of the Checkout Button on my site. I've found several solutions on the forum but none of them are working for some reason. Maybe because I'm using the Skye template?

Also, I was wondering if there is any customization of fonts that can be done on the actual checkout page, or whether that is standard for all Squarespace sites. Thanks!

dakineskava.com/checkout

Screen Shot 2020-03-21 at 1.23.10 PM.png

Screen Shot 2020-03-21 at 1.23.23 PM.png

Link to comment
  • Solution

Hi @Zoey

You didn't say how you wanted to change the cart's "Checkout" button, but here's an example of how you can change the padding to make it smaller:

body .checkout button.CheckoutButton-checkoutButton-3yWY2 {
    padding: .7em 1.1em;
}

By default, there's 1em of padding top and bottom, and 2.5em on the sides.

You cannot customise the font (or very much else) on the Checkout page. Only the following settings are available for the checkout, and you cannot use CSS or other code to style it.

ss-checkout-styles.png.fef4d8e382fe23cc22269a8b50b0d1a8.png

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
  • 2 weeks later...

@Ewa This isn't possible due to restrictions in place.

See my post here about translating the checkout page:

 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
  • 1 month later...

Hi Zoe and Paul,

In the v7.0 Brine family, I have managed to style the checkout button using the following code:

body .checkout button.CheckoutButton-checkoutButton-3yWY2 {
   display:block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color:#231f74;
  font-weight: 700;
  font-style: normal;
  line-height: normal;
  opacity:1;
  text-align: center;
  width: auto;
  height: auto;
  text-decoration: none;
  padding: 9px 20px;
  background-color: white;
  border-radius: 3px;
  transition: .1s opacity linear;
  cursor: pointer;
  border-color: #231f74;
  border-width:2px;
  border-style:solid;
  margin-top:10px;
}
body .checkout button.CheckoutButton-checkoutButton-3yWY2:hover {color: #fff; background-color: #231f74;}

I'm using it at https://skywavegin.com

Edited by Challenger2
Added URL
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.