Jump to content

Add to Cart Button

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You can try adding this to your Custom CSS:

.ProductItem-details .sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button {
    width: 50%;
}

This button is a "primary button" in the styles menu, so I suggest adjusting that font size and padding as well.

You can't change the URL structure of a product page in that way. You could make a page with that URL and then add a product block to the page.

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

Link to comment
  • 2 weeks later...

Hi thanks for your reply ! I tried to apply it and checked but it made it better, but the padding is quite large. Here is a screenshot, sorry for the button not being in desktop view when opening the right Inspect panel - I am currently working on a laptop.

The top-padding and bottom-padding doesn't seem to affect the Style.

Quote

.ProductItem-details .sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button {
   width: 50%;
   padding-top: 0.2em;
  padding-bottom: 0.2em;
}

 

test 50%.PNG

demo.PNG

Edited by coja
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.