Renarde4 Posted July 7, 2023 Share Posted July 7, 2023 Hi, thanks in advance for your help with this. I'm trying to change my shopping cart so it's easier to see how to remove an item. Right now, to remove an item you click the little "X" to the right of the item. How can I change this to a button that says "Remove"? Here's the address of my site. Thanks! https://cyan-perch-hsd2.squarespace.com/config/design Link to comment
Solution tuanphan Posted July 9, 2023 Solution Share Posted July 9, 2023 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; } 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
Renarde4 Posted July 9, 2023 Author Share Posted July 9, 2023 @tuanphanThat worked perfectly, thank you! Link to comment
Renarde4 Posted July 9, 2023 Author Share Posted July 9, 2023 A couple of things about the button styling I could use help with: There is no space between the amount in the cart and the Remove button. 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! Link to comment
Renarde4 Posted July 10, 2023 Author Share Posted July 10, 2023 Actually, I figured out those two button styling issues, and now have two others I'd like help with. Please see image. I'd like the "Remove" button to change the background (dark blue = #144CAF) and font color (white) on hover. 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! Link to comment
tuanphan Posted July 14, 2023 Share Posted July 14, 2023 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. I'd like the "Remove" button to change the background (dark blue = #144CAF) and font color (white) on hover. 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! 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment