# White button on Universal template?

**URL:** <https://community.auth0.com/t/white-button-on-universal-template/79690>\
**Category:** Get Help\
**Tags:** theme, login\
**Created:** [March 10, 2022, 8:58pm UTC](https://community.auth0.com/t/white-button-on-universal-template/79690 "2022-03-10T20:58:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nrutman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nrutman/32/35797_2.png) [@nrutman](https://community.auth0.com/u/nrutman)\
**Post date:** [March 10, 2022, 8:58pm UTC](https://community.auth0.com/t/white-button-on-universal-template/79690/1 "2022-03-10T20:58:48Z")

</div>

We use a primary color of #5680f5 in the universal template to style our Auth0 login form. However, the Auth0 UI renders dark type on our blue button.

To solve this, we tried using a custom CSS rule targeting `button[type=submit]`, but this inadvertently makes other non-button text white as well.

Most of the examples on the Auth0 website show the main login button with white text. How do we configure this with our primary color?

Thanks,  
-Nate

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [March 10, 2022, 9:46pm UTC](https://community.auth0.com/t/white-button-on-universal-template/79690/3 "2022-03-10T21:46:27Z")

</div>

Hi @nrutman ,

Welcome to the Auth0 Community!

I tested this query on my end and the color on the Application match what’s showing [here](https://www.color-hex.com/color/5680f5).

Here is the snippet of my script.

```auto
 <button
          type="button"
          id="btn-signup"
          class="btn btn-default btn-block" style="background-color:#5680f5">
            Sign Up
        </button>

```

Could you please provide your scripts in the universal template?

BTW, which web browser are you using?

Thanks!

---

<div class="post-metadata">

**Author:** ![nrutman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nrutman/32/35797_2.png) [@nrutman](https://community.auth0.com/u/nrutman)\
**Post date:** [March 11, 2022, 9:31pm UTC](https://community.auth0.com/t/white-button-on-universal-template/79690/4 "2022-03-11T21:31:47Z")

</div>

@lihua.zhang, thanks for the response.

As I mentioned, we’re using the [Universal Login pages](https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates), so we only have access to an embed tag that looks like:

```auto
{%- auth0:widget -%}

```

I don’t think we have access to the button specifically, right? If we could either target _only_ that button, or somehow wrap it with a custom identifier, that would make this very possible.

Do you have any suggestions for me?

Thanks,  
-Nate

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [March 12, 2022, 12:03am UTC](https://community.auth0.com/t/white-button-on-universal-template/79690/6 "2022-03-12T00:03:40Z")

</div>

Thank you for the updates.

I see that you were trying to customize the New Universal Login page. I did some research. It looks like we cannot update the color of a submit button in this case.

My scripts are for the [Classic Universal Login page](https://auth0.com/docs/customize/universal-login-pages/customization-classic). By selecting “Custom Login Form” you can update the color of the submit button. And the Preview tab shows what it looks like with the change.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/5/1/51e13c06fd9e6b28cc871d770ce92bb1323d0a70.jpeg)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 22, 2022, 11:36am UTC](https://community.auth0.com/t/white-button-on-universal-template/79690/7 "2022-12-22T11:36:27Z")

</div>


