# ACUL style not displayed properly (style overwriten by style prop in html tag)

**URL:** <https://community.auth0.com/t/acul-style-not-displayed-properly-style-overwriten-by-style-prop-in-html-tag/198973>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [April 15, 2026, 1:39pm UTC](https://community.auth0.com/t/acul-style-not-displayed-properly-style-overwriten-by-style-prop-in-html-tag/198973 "2026-04-15T13:39:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![v.ibis](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/v.ibis/32/74769_2.png) [@v.ibis](https://community.auth0.com/u/v.ibis)\
**Post date:** [April 15, 2026, 1:39pm UTC](https://community.auth0.com/t/acul-style-not-displayed-properly-style-overwriten-by-style-prop-in-html-tag/198973/1 "2026-04-15T13:39:45Z")

</div>

After following the ACUL documentation and setting up the pipelines etc..

the universal login page still has the default branding styles and not the custom styling.  
the files are correctly served and the .css file form the cdn contains the necessary styling but the parent login screen html tag has a style that overrides the ACUL .css styling.  
when i delete that style. the underlying custom ACUL theme does show up. so i am a but confused.

any help is appreciated.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [April 17, 2026, 7:12pm UTC](https://community.auth0.com/t/acul-style-not-displayed-properly-style-overwriten-by-style-prop-in-html-tag/198973/3 "2026-04-17T19:12:43Z")

</div>

Hi @v.ibis

Welcome to the Auth0 Community!

The reason your custom ACUL `.css` file is being overridden is due to standard CSS specificity rules where Auth0 dynamically takes the theme settings defined in your Auth0 Dashboard (Branding \> Universal Login) and injects them as **inline styles** directly onto the `<html>` tag. Because inline styles have the highest specificity in CSS, they will always overpower the `:root` or `html` definitions sitting in your external stylesheet.

To fix this, you do not need to change your pipeline or your Auth0 Dashboard settings. You simply need to adjust the CSS selectors in your external `.css` file to bypass the inline styles on the `<html>` tag.

You can define your custom variables on the `body` tag instead of `:root` or `html` so its variable definitions will take precedence for all the widget components inside it. It should look something like this:

```auto
body {
  --core-primary: #ff0000;
  --core-page-bg: #000000;
}

```

If you prefer to keep your variables scoped to the `:root` , you can force the browser to prioritize your external stylesheet over the inline styles by appending the `!important` flag to your variables.

If you have any other questions, let me know!

Kind Regards,  
Nik

---

<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:** [May 1, 2026, 7:13pm UTC](https://community.auth0.com/t/acul-style-not-displayed-properly-style-overwriten-by-style-prop-in-html-tag/198973/4 "2026-05-01T19:13:01Z")

</div>

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