Jump to content

Changing checkout button colour in shopping cart

Recommended Posts

Posted

Site URL: https://sawfish-cat-9nxl.squarespace.com/cart

hi there,

pw: Ch4rl13

I'm trying the change the background colour on the checkout button in the cart - I've managed to change the font and font colour, but nothing seems to make the background change. This is the code I've been messing around with to try and get it to work:

/* checkout button */
.checkout-button span {
  color: #414042 !important;
  background: #F4ED3 !important;
  font-family: LilitaOne-Regular !important;
}

...and on the payment page I've changed the button colour but can't figure out how to change the text!

any help would be appreciated - Thanks folks!

  • Replies 8
  • Views 2.3k
  • Created
  • Last Reply
Posted
2 hours ago, kennedyc said:

I'm trying the change the background colour on the checkout button in the cart

The password you've provided for your site isn't correct, but you should be able to change the button colour on your Squarespace 7.1 site by adding the following to Design > Custom CSS:

body .checkout button.CheckoutButton-checkoutButton-3yWY2 {
  background-color: #F4ED3;
}

   If a post helps you, please click a "Like" option below  ↘️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

Thanks Paul - I tried the code and couldn't get it to work - tweaked it a bit and still no joy - any other advice? (sorry about password, I've corrected it in the original question)

Posted

Because it’s the cart, the CSS won’t take effect immediately. You’ll need to save it then refresh the page.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

  • 1 month later...
Posted

I am needing help with this also. I entered the code you provided substituting my preferred color. How long does this take to become visible? It's been about 10 minutes. 

 

Posted
On 11/10/2020 at 1:12 AM, JKassel said:

I am needing help with this also. I entered the code you provided substituting my preferred color. How long does this take to become visible? It's been about 10 minutes. 

 

Can you share site url? We can check easier

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 9 months later...
Posted

 

On 11/11/2020 at 5:57 AM, tuanphan said:

Can you share site url? We can check easier

Hi there -  I would so appreciate your help as well. I tried using the code and the color didn't update for me.  My site is livelyhouse.co. THANK YOU!

Posted
On 9/11/2021 at 4:23 AM, LivelyHouse said:

 

Hi there -  I would so appreciate your help as well. I tried using the code and the color didn't update for me.  My site is livelyhouse.co. THANK YOU!

Add to Design > Custom CSS

/* Checkout button */
button.checkout-button {
    background-color: red !important;
}
button.checkout-button a {
    color: green !important;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.