# Can't get custom HTML to work with Universal Login

**URL:** <https://community.auth0.com/t/cant-get-custom-html-to-work-with-universal-login/86840>\
**Category:** Get Help\
**Tags:** new-universal-login, custom-login, login\
**Created:** [July 12, 2022, 5:21pm UTC](https://community.auth0.com/t/cant-get-custom-html-to-work-with-universal-login/86840 "2022-07-12T17:21:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![admin59](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/admin59/32/33201_2.png) [@admin59](https://community.auth0.com/u/admin59)\
**Post date:** [July 12, 2022, 5:21pm UTC](https://community.auth0.com/t/cant-get-custom-html-to-work-with-universal-login/86840/1 "2022-07-12T17:21:16Z")

</div>

Hi all,

I m trying to customize the login HTML and have enabled New Universal Login

 ![image](https://global.discourse-cdn.com/auth0/original/3X/b/f/bf8371a95143e9df8f2547abff15190f632e775f.png)

and changed the HTML to something simple:

```auto
<!DOCTYPE html><html>
  <head>
    {%- auth0:head -%}
  </head>
  <body>
    {%- auth0:widget -%}
  </body></html>

```

I have also enabled custom domains

 ![image](https://global.discourse-cdn.com/auth0/original/3X/8/5/85e84fc8977cb74d7b239036cb9052fdbe92a172.png)

However when I point my browser to the custom domain login page I see a plain html like so:

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

```

Anything I m doing wrong?

---

<div class="post-metadata">

**Author:** ![art.stupels](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/art.stupels/32/30429_2.png) [@art.stupels](https://community.auth0.com/u/art.stupels)\
**Post date:** [July 24, 2022, 3:31pm UTC](https://community.auth0.com/t/cant-get-custom-html-to-work-with-universal-login/86840/2 "2022-07-24T15:31:04Z")

</div>

Hello,

Per your screenshot, you updated and enabled the code under the `Login` tab. As per the yellow notification, “using custom HTML will override the Universal Login Experience” to Classic.

As far as I understand, you would like to use the New Universal Login. If that’s the case, you should update the template via the Management API. You can set your Access Token and use the [API Explorer](https://auth0.com/docs/get-started/apis/create-m2m-app-test) to do such updates:

[https://auth0.com/docs/api/management/v2#!/Branding/put\_universal\_login](https://auth0.com/docs/api/management/v2#!/Branding/put_universal_login)

> Please don’t forget to disable the `Customize Login Page` under the Login tab.

If you would like to stick with Classic, you can customize a template as per the instructions below:

[https://auth0.com/docs/customize/universal-login-pages/customization-classic](https://auth0.com/docs/customize/universal-login-pages/customization-classic)

I hope this helps!

---

<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:** [July 28, 2022, 1:09pm UTC](https://community.auth0.com/t/cant-get-custom-html-to-work-with-universal-login/86840/3 "2022-07-28T13:09:00Z")

</div>


