# How can I customize the styling and layout of Universal Login templates using the Auth0 Management API or CLI?

**URL:** <https://community.auth0.com/t/how-can-i-customize-the-styling-and-layout-of-universal-login-templates-using-the-auth0-management-api-or-cli/136236>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [June 12, 2024, 5:03pm UTC](https://community.auth0.com/t/how-can-i-customize-the-styling-and-layout-of-universal-login-templates-using-the-auth0-management-api-or-cli/136236 "2024-06-12T17:03:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahabeer.singh](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@mahabeer.singh](https://community.auth0.com/u/mahabeer.singh)\
**Post date:** [June 12, 2024, 5:03pm UTC](https://community.auth0.com/t/how-can-i-customize-the-styling-and-layout-of-universal-login-templates-using-the-auth0-management-api-or-cli/136236/1 "2024-06-12T17:03:56Z")

</div>

I’m tasked with updating the appearance and structure of Universal Login templates, specifically altering the UI of input fields and buttons, rearranging elements within the `auth:widget`, and incorporating a header with a close button that redirects to my website upon clicking. How can I accomplish this level of customization using either the Management API or CLI? I aim to seamlessly integrate these modifications into the Universal Login experience while maintaining a smooth user flow. Any guidance or steps on achieving this would be greatly appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [February 27, 2025, 6:52pm UTC](https://community.auth0.com/t/how-can-i-customize-the-styling-and-layout-of-universal-login-templates-using-the-auth0-management-api-or-cli/136236/3 "2025-02-27T18:52:05Z")

</div>

Hi there,

Thank you for reaching out to us!

Reading through your message, I wanted to try and provide some information, as it could help others as well.  
You should be able to customize the Universal Login using both the Management API and CLI, depending on your use-case. For details on using the Management API, I recommend reading through our documentation on how to [Customize Universal Login Page Templates](https://auth0.com/docs/customize/login-pages/universal-login/customize-templates) and also check out the following [Community Post](https://community.auth0.com/t/customizing-the-universal-login-api/148355) for a Code snippet example.

Regarding CLI, please check out the following Knowledge Article that details how to [Deploy Customized Universal Login Page with Auth0 Deploy CLI](https://community.auth0.com/t/deploy-customized-universal-login-page-with-auth0-deploy-cli/126646).

Hope this helped!  
Gerald

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 13, 2025, 6:52pm UTC](https://community.auth0.com/t/how-can-i-customize-the-styling-and-layout-of-universal-login-templates-using-the-auth0-management-api-or-cli/136236/4 "2025-03-13T18:52:43Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
