# Add to cart button height

**URL:** https://community.elfsight.com/t/add-to-cart-button-height/55295
**Category:** Platform Tips
**Tags:** squarespace
**Created:** [June 2, 2024, 4:08am UTC](https://community.elfsight.com/t/add-to-cart-button-height/55295 "2024-06-02T04:08:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tuanphan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tuanphan/32/3165_2.png) [@tuanphan](https://community.elfsight.com/u/tuanphan)
#### Post date: [June 2, 2024, 4:08am UTC](https://community.elfsight.com/t/add-to-cart-button-height/55295/1 "2024-06-02T04:08:04Z")

</div>

To change add to cart button height on Squarespace, you can use this code to Custom CSS box.

```auto
div.sqs-add-to-cart-button {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/6/9/6985d3c68e3250dab789a48c4c85516aa4312ba2.jpeg)

result

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/0/6/0688268760958dc78e62d46e14cf7f1d3a6dc554.jpeg)
