# Add a banner to the default theme?

**URL:** <https://forum.keycloak.org/t/add-a-banner-to-the-default-theme/7974>\
**Category:** Miscellanaeous\
**Created:** [March 16, 2021, 7:49pm UTC](https://forum.keycloak.org/t/add-a-banner-to-the-default-theme/7974 "2021-03-16T19:49:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gradCoder](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/gradcoder/32/2252_2.png) [@gradCoder](https://forum.keycloak.org/u/gradCoder)\
**Post date:** [March 16, 2021, 7:49pm UTC](https://forum.keycloak.org/t/add-a-banner-to-the-default-theme/7974/1 "2021-03-16T19:49:38Z")

</div>

There is a lot info about themes but they all suggest to make a new theme .  
I only want to replace the DEMOKEYCLOAK on the picture with one Logo i have  
Can i edit an existing theme for such a small change? I have make a new realm but everything is in default.

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/c/c83291ab7e7f0d5f2b04aca2e34a98bc5ddf91f0.jpeg)

---

<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:** [March 17, 2021, 10:00pm UTC](https://forum.keycloak.org/t/add-a-banner-to-the-default-theme/7974/2 "2021-03-17T22:00:27Z")

</div>

That gets built with the “HTML Display name” realm attribute. But, because Keycloak sanitizes that string, it won’t allow you to include external images. In order to get a logo there, you’ll have to build a custom theme.

I have a theme starter here: [GitHub - xgp/keycloak-theme-template: Starter for building a Keycloak theme](https://github.com/xgp/keycloak-theme-template)
