Jump to content

Checkout button, change color

Recommended Posts

Site URL: https://www.at17c.com/cart

Hey. 
I am looking to change the color of two buttons on the cart/checkout page. 
1. The button that says "Continue shopping" when you have no items in cart

2. The button that says "Checkout" when you have items in cart. 

I have used custom CSS, to change the "add to cart" button to have the wanted effect. 
I just can't implement the same CSS to those other two buttons. 

I will attach a photo of the CSS I use that works on the one button, and then a photo of the checkout page. 

 

TIA

 

Code for website is: basement

Skærmbillede 2022-04-13 kl. 16.55.18.png

Skærmbillede 2022-04-13 kl. 16.55.55.png

Link to comment
  • Replies 4
  • Views 801
  • Created
  • Last Reply

Top Posters In This Topic

On 4/13/2022 at 10:02 PM, at17c said:

Site URL: https://www.at17c.com/cart

Hey. 
I am looking to change the color of two buttons on the cart/checkout page. 
1. The button that says "Continue shopping" when you have no items in cart

2. The button that says "Checkout" when you have items in cart. 

I have used custom CSS, to change the "add to cart" button to have the wanted effect. 
I just can't implement the same CSS to those other two buttons. 

I will attach a photo of the CSS I use that works on the one button, and then a photo of the checkout page. 

 

TIA

 

Code for website is: basement

Skærmbillede 2022-04-13 kl. 16.55.18.png

Skærmbillede 2022-04-13 kl. 16.55.55.png

Try adding to Home > Design > Custom Css

#cart .cart-continue-button:hover {
  background: red !important;
}

#cart .cart-checkout-button:hover {
  background: red !important;
}

Let me know how it goes on your site

Support me by pressing 👍 if this useful for you

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
  • 4 months later...
On 4/17/2022 at 5:29 AM, bangank36 said:

Try adding to Home > Design > Custom Css

#cart .cart-continue-button:hover {
  background: red !important;
}

#cart .cart-checkout-button:hover {
  background: red !important;
}

Let me know how it goes on your site

Support me by pressing 👍 if this useful for you

Hi - it unfortunately does not work. I've tried so many different things, but I can't seem to change anything about the checkout button whatsoever. 
Any clues?

Link to comment
On 8/25/2022 at 5:30 PM, at17c said:

Hi - it unfortunately does not work. I've tried so many different things, but I can't seem to change anything about the checkout button whatsoever. 
Any clues?

Try this new CSS

button.cart-checkout-button {
	background-color: red !important;
	color: violet !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!)

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.