# Custom theme to admin

**URL:** https://forum.keycloak.org/t/custom-theme-to-admin/26914
**Category:** Extending the server
**Tags:** admin-console
**Created:** [July 9, 2024, 10:08am UTC](https://forum.keycloak.org/t/custom-theme-to-admin/26914 "2024-07-09T10:08:32Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![lottedev](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/lottedev/32/10847_2.png) [@lottedev](https://forum.keycloak.org/u/lottedev)
#### Post date: [July 9, 2024, 10:08am UTC](https://forum.keycloak.org/t/custom-theme-to-admin/26914/1 "2024-07-09T10:08:32Z")

</div>

Hi! I’m trying to change to theme of admin in keycloak with no succes. Am I doing anything wrong?

This is my theme.properties:

```auto
parent=keycloak.v2
styles=assets/styles.css

```

---

<div class="post-metadata">

### Author: ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)
#### Post date: [July 9, 2024, 10:46am UTC](https://forum.keycloak.org/t/custom-theme-to-admin/26914/2 "2024-07-09T10:46:25Z")

</div>

Try the example in the `keycloak-quickstarts` repository. You may be able to work backward from the example they have there.

> **[keycloak-quickstarts/extension/extend-admin-console at latest ·...](https://github.com/keycloak/keycloak-quickstarts/tree/latest/extension/extend-admin-console)**
>
> Contribute to keycloak/keycloak-quickstarts development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![lottedev](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/lottedev/32/10847_2.png) [@lottedev](https://forum.keycloak.org/u/lottedev)
#### Post date: [July 9, 2024, 11:19am UTC](https://forum.keycloak.org/t/custom-theme-to-admin/26914/3 "2024-07-09T11:19:04Z")

</div>

Hi! This is essentially what I had already but it does not work

```auto
├── themes
│ ├── admin
│ │ ├── resources
│ │ │ ├── assets
│ │ │ │ ├── styles.css
│ │ └── theme.properties
│ ├── account
│ │ ├── resources
│ │ │ ├── assets
│ │ │ │ ├── styles.css
│ │ └── theme.properties

```

theme.properties:

```auto
parent=keycloak.v2
styles=assets/styles.css
title=testtt

```

---

<div class="post-metadata">

### Author: ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)
#### Post date: [July 9, 2024, 11:42am UTC](https://forum.keycloak.org/t/custom-theme-to-admin/26914/4 "2024-07-09T11:42:06Z")

</div>

Did you build using the same technique as in the example? Did you create a `keycloak-themes.json` file?

---

<div class="post-metadata">

### Author: ![lottedev](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/lottedev/32/10847_2.png) [@lottedev](https://forum.keycloak.org/u/lottedev)
#### Post date: [July 9, 2024, 11:59am UTC](https://forum.keycloak.org/t/custom-theme-to-admin/26914/5 "2024-07-09T11:59:15Z")

</div>

No, i’m sorry but I do not see that in the example… Only in the extend-account-console, but I need the admin.

To clarify, my styling works on login, account and email ): Just not on admin.

---

<div class="post-metadata">

### Author: ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)
#### Post date: [July 9, 2024, 12:35pm UTC](https://forum.keycloak.org/t/custom-theme-to-admin/26914/6 "2024-07-09T12:35:20Z")

</div>

If you are building the extension in that repo and it isn’t working to style the admin, I’d suggest filing an issue there, as that’s supposed to be up to date and working with the current version of Keycloak.

---

<div class="post-metadata">

### Author: ![dodouce](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@dodouce](https://forum.keycloak.org/u/dodouce)
#### Post date: [August 26, 2024, 2:30pm UTC](https://forum.keycloak.org/t/custom-theme-to-admin/26914/7 "2024-08-26T14:30:03Z")

</div>

I think I had the same issue.  
In case anyone coming here is interested :  
If you have multiple realms you must change the Admin console theme of the master realms to change the Admin console theme of ALL realms (I don’t know if this intended or if this is a bug).  
In another words, go to “Keycloak” (master) realm =\> Realm settings =\> Themes =\> Choose your custom theme under “Admin theme” and you should see your theme applied
