# Different theme for admin backend?

**URL:** https://meta.discourse.org/t/different-theme-for-admin-backend/99477
**Category:** Support
**Created:** [October 14, 2018, 5:01pm UTC](https://meta.discourse.org/t/different-theme-for-admin-backend/99477 "2018-10-14T17:01:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Olivier\_Lambert](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/olivier_lambert/32/74807_2.png) [@Olivier\_Lambert](https://meta.discourse.org/u/Olivier_Lambert)
#### Post date: [October 14, 2018, 5:01pm UTC](https://meta.discourse.org/t/different-theme-for-admin-backend/99477/1 "2018-10-14T17:01:40Z")

</div>

Hi! I’ve added quite a bit of customisation to my instance, but those edits seems to be bugging my admin back-end.

Is there a way (except by adding `body:not(.admin-interface)` too all my css elements) to simply have a vanilla instance for the admin interface?

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [October 14, 2018, 5:20pm UTC](https://meta.discourse.org/t/different-theme-for-admin-backend/99477/2 "2018-10-14T17:20:34Z")

</div>

It might be worth it to spend a little bit of time to make sure your CSS selectors are not too broad (which would cause the issue you’re seeing in the admin interface)

However, if you simply don’t want **any** custom CSS to apply to the admin, you can actually use something similar to what you described.

Discourse supports SCSS which means that you **only need to add** `body:not(.admin-interface)` **once** to your theme. You don’t need to add it to every rule.

Something like this

```plaintext
body:not(.admin-interface) {

// all the CSS rules from your theme go here

}

```

---

<div class="post-metadata">

### Author: ![Olivier\_Lambert](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/olivier_lambert/32/74807_2.png) [@Olivier\_Lambert](https://meta.discourse.org/u/Olivier_Lambert)
#### Post date: [October 14, 2018, 5:53pm UTC](https://meta.discourse.org/t/different-theme-for-admin-backend/99477/3 "2018-10-14T17:53:40Z")

</div>

Amazing! Just what I was looking for. Thanks 😃

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 13, 2018, 5:55pm UTC](https://meta.discourse.org/t/different-theme-for-admin-backend/99477/4 "2018-11-13T17:55:45Z")

</div>

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