Jump to content

Change remove from cart button

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 5
  • Views 570
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

Add to Design > Custom CSS

button.cart-row-remove span:before {
    content: "Remove";
    font-size: 12px;
    background-color: black;
    color: white;
    padding-left: 5px !important;
    padding-right: 5px;
}
button.cart-row-remove svg {
    display: none;
}

image.png.578e49c4ae2ce50a836c3a981be08748.png

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

A couple of things about the button styling I could use help with:

  1. There is no space between the amount in the cart and the Remove button.
  2. I'd like the Remove button to have rounded corners (not square) like the rest of the buttons on the site.

Please see the attached picture to see what I'm talking about, thanks!RemoveButton.thumb.png.b732e405c0a84fa4ddb6ca7b90f72abb.png

Link to comment

Actually, I figured out those two button styling issues, and now have two others I'd like help with. Please see image.

  1. I'd like the "Remove" button to change the background (dark blue = #144CAF) and font color (white) on hover.
  2. I'd like the name of the product, the price and the remove button to all be vertically centered in the product listing line. Right now the name of the product and the price are higher on the line than the quantity and the "Remove" button.

Thanks for your help with this!

RemoveButton_2.thumb.png.c95b5abbaed2312b14c119b812c98d66.png

 

Link to comment
On 7/10/2023 at 7:51 AM, Renarde4 said:

Actually, I figured out those two button styling issues, and now have two others I'd like help with. Please see image.

  1. I'd like the "Remove" button to change the background (dark blue = #144CAF) and font color (white) on hover.
  2. I'd like the name of the product, the price and the remove button to all be vertically centered in the product listing line. Right now the name of the product and the price are higher on the line than the quantity and the "Remove" button.

Thanks for your help with this!

RemoveButton_2.thumb.png.c95b5abbaed2312b14c119b812c98d66.png

 

Hi,

I see you solved both?

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.