Jump to content

Changing Size of Add to Cart Button

Recommended Posts

  • Replies 3
  • Views 3.5k
  • Created
  • Last Reply

Top Posters In This Topic

2 hours ago, KWILES said:

Site URL: https://www.roxmartyn.com/shop/sample-artwork-wrcxh

Hi guys

Using Squarespace 7.1 and I am trying to change the button size of the 'Add To Cart Button' so it isn't full length. How do I do this?

Also is it is possible to make the Newsletter 'Sign Up' buttons the same size as the other buttons on the website?

19-03-2020 11-59-15 AM.jpg

Hi , You can simple add the following code to the HOME>DESIGN>CUSTOM CSS and it will reduce the wifth of add to cart button by 50% Also I can see your newsletter button has same width as other buttons.

.sqs-add-to-cart-button {
    width: 50% !important;
}

Hope it helps 🙂 

Link to comment
  • 2 months later...
  • 1 year later...
On 6/7/2021 at 4:20 AM, tuanphan said:

Can you share link to store page?

 

On 3/18/2020 at 6:27 PM, humxahafeex said:

Hi , You can simple add the following code to the HOME>DESIGN>CUSTOM CSS and it will reduce the wifth of add to cart button by 50% Also I can see your newsletter button has same width as other buttons.


.sqs-add-to-cart-button {
    width: 50% !important;
}

Hope it helps 🙂 

It helped me. Thank you so much. Btw is it possible to add variants feature for digital products?

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.