# Ignore theme for admin backend, or add classname to \<html\>?

**URL:** <https://meta.discourse.org/t/ignore-theme-for-admin-backend-or-add-classname-to-html/183877>\
**Category:** Product Support\
**Created:** [March 20, 2021, 4:18pm UTC](https://meta.discourse.org/t/ignore-theme-for-admin-backend-or-add-classname-to-html/183877 "2021-03-20T16:18:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [March 20, 2021, 4:28pm UTC](https://meta.discourse.org/t/ignore-theme-for-admin-backend-or-add-classname-to-html/183877/2 "2021-03-20T16:28:59Z")

</div>

Yeah I think it would make sense for us to split off the admin area at some point, it can definitely be an extra burden to theming, which usually isn’t necessary. Wordpress also separate admin themes/styles.

In the meantime, I’ve made a PR to add an `admin-area` class to the HTML tag. I used a different name and kept the old body tag so that it doesn’t impact existing themes.

[https://github.com/discourse/discourse/pull/12459](https://github.com/discourse/discourse/pull/12459)

---

_[View the full topic](https://meta.discourse.org/t/ignore-theme-for-admin-backend-or-add-classname-to-html/183877)._
