# Can we have page specific css classes?

**URL:** https://meta.discourse.org/t/can-we-have-page-specific-css-classes/47904
**Category:** Feature
**Created:** [28 Luglio 2016, 5:20am UTC](https://meta.discourse.org/t/can-we-have-page-specific-css-classes/47904 "2016-07-28T05:20:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [28 Luglio 2016, 5:20am UTC](https://meta.discourse.org/t/can-we-have-page-specific-css-classes/47904/1 "2016-07-28T05:20:31Z")

</div>

Currently we have css classes like `desktop-view not-mobile-device no-touch` for html tag

Like this can we have page specific css classes in html tag or in any other tag like `#main-outlet` div? For example `.home` class in home page and `.category.support` css class in ‘support’ category.

It will give many possibilities to customize display via css. For example I can hide ‘New Topic’ button in home only via below simple css

```plaintext
.home #create-topic {
 display: none;
}

```

It will helpful when using jQuery css selectors too.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [28 Luglio 2016, 11:20am UTC](https://meta.discourse.org/t/can-we-have-page-specific-css-classes/47904/2 "2016-07-28T11:20:11Z")

</div>

Category Support already exists…

Visit [Support - Discourse Meta](https://meta.discourse.org/c/support)  
Look at body tag

```plaintext
<body class="docked category-support">

```

I don’t have a solution for the homepage yet…

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [28 Luglio 2016, 11:42am UTC](https://meta.discourse.org/t/can-we-have-page-specific-css-classes/47904/3 "2016-07-28T11:42:44Z")

</div>

Yeah I can see. thanks. 👍

If it have in homepage it will be more helpful when designing via css. Since it is our important landing page we will need more customization there.
