# Can you change the submit button text color?

**URL:** <https://community.elfsight.com/t/can-you-change-the-submit-button-text-color/4475>\
**Category:** Customization\
**Tags:** subscription-form\
**Created:** [September 28, 2022, 6:20am UTC](https://community.elfsight.com/t/can-you-change-the-submit-button-text-color/4475 "2022-09-28T06:20:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peyton](https://avatars.discourse-cdn.com/v4/letter/p/e79b87/32.png) [@Peyton](https://community.elfsight.com/u/Peyton)\
**Post date:** [September 28, 2022, 6:20am UTC](https://community.elfsight.com/t/can-you-change-the-submit-button-text-color/4475/1 "2022-09-28T06:20:11Z")

</div>

Maybe using custom css. I can change button color but not the text within that button. thank!

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [September 28, 2022, 12:17pm UTC](https://community.elfsight.com/t/can-you-change-the-submit-button-text-color/4475/3 "2022-09-28T12:17:20Z")

</div>

Hi @Peyton, welcome to the forum! 😍

Absolutely, could you please try to add the following CSS code to Custom CSS field in your widget Appearance tab:

```auto
[class*="ButtonBase__ButtonContainer"] {
  color: white !important;
}

```

Please let me know if it worked 🙂

---

<div class="post-metadata">

**Author:** ![Peyton](https://avatars.discourse-cdn.com/v4/letter/p/e79b87/32.png) [@Peyton](https://community.elfsight.com/u/Peyton)\
**Post date:** [September 28, 2022, 11:09pm UTC](https://community.elfsight.com/t/can-you-change-the-submit-button-text-color/4475/5 "2022-09-28T23:09:00Z")

</div>

it worked! thanks so much!

---

<div class="post-metadata">

**Author:** ![Rami\_AlShmouri](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/rami_alshmouri/32/10867_2.png) [@Rami\_AlShmouri](https://community.elfsight.com/u/Rami_AlShmouri)\
**Post date:** [November 10, 2023, 5:19pm UTC](https://community.elfsight.com/t/can-you-change-the-submit-button-text-color/4475/6 "2023-11-10T17:19:23Z")

</div>

Hi Peyton, I tried the same code to put it in a custom CSS file and it didn’t work

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [November 10, 2023, 5:35pm UTC](https://community.elfsight.com/t/can-you-change-the-submit-button-text-color/4475/7 "2023-11-10T17:35:30Z")

</div>

Hi @Rami_AlShmouri 👋

I’ve checked the code and it’s working fine:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/d/d688f7d0b70d200fa1751d7614717457d6c403a0.png)

Could you please double-check it?

If the issue still persists. please specify your [widget ID](https://help.elfsight.com/article/1219-where-to-get-your-widget-id-in-new-dashboard) and I’ll gladly check it for you 🙂
