# (Squarespace) How to add gradient on Quick View Button

**URL:** <https://community.elfsight.com/t/squarespace-how-to-add-gradient-on-quick-view-button/104825>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [March 3, 2025, 11:58pm UTC](https://community.elfsight.com/t/squarespace-how-to-add-gradient-on-quick-view-button/104825 "2025-03-03T23:58:09Z")\
**Posts on this page:** 2\
**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:** [March 3, 2025, 11:58pm UTC](https://community.elfsight.com/t/squarespace-how-to-add-gradient-on-quick-view-button/104825/1 "2025-03-03T23:58:09Z")

</div>

To add gradient color on Quick View Button, like this.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/b/4/b4a5eb4bbd5fabbd762e84a2046a189672fcefb6.jpeg)

You can use this code to Custom CSS box.  
If code doesn’t work, you can comment below, [message](https://community.elfsight.com/u/tuanphan/) or [send me an email](https://community.elfsight.com/u/tuanphan/summary).

```auto
span.sqs-product-quick-view-button {
     background: linear-gradient(45deg, #ff6b6b, #4ecdc4) !important;
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/0/0/002fc19ac87011a92768c4e9b705a716675676e8.png)

---

<div class="post-metadata">

**Author:** ![romano97002](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/romano97002/32/95751_2.png) [@romano97002](https://community.elfsight.com/u/romano97002)\
**Post date:** [March 4, 2025, 12:53pm UTC](https://community.elfsight.com/t/squarespace-how-to-add-gradient-on-quick-view-button/104825/2 "2025-03-04T12:53:55Z")

</div>

@tuanphan,

❤ ❤ ❤
