# Change color of a single button in a button block

**URL:** <https://community.glideapps.com/t/change-color-of-a-single-button-in-a-button-block/61871>\
**Category:** Ask for Help\
**Created:** [May 18, 2023, 9:23am UTC](https://community.glideapps.com/t/change-color-of-a-single-button-in-a-button-block/61871 "2023-05-18T09:23:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 18, 2023, 11:18pm UTC](https://community.glideapps.com/t/change-color-of-a-single-button-in-a-button-block/61871/2 "2023-05-18T23:18:52Z")

</div>

> [@CSS for Buttons Background](https://community.glideapps.com/t/css-for-buttons-background/61161/2):
>
> div[data-testid\*="test-tiles"] button[aria-label="Primary"].tiles { background-color: gold; } div[data-testid\*="test-tiles"] button[aria-label="Secondary"].tiles { background-color: green; color: white; } div[data-testid\*="test-tiles"] button[aria-label="Go!"].tiles { background-color: magenta; color: white; } The custom CSS class here is “test-tiles”. If you have a sole “open link” action, it should change from “button[aria-label…]” to “a[aria-label…”.

If you have access to use CSS, please try this.

---

_[View the full topic](https://community.glideapps.com/t/change-color-of-a-single-button-in-a-button-block/61871)._
