# Per page classes so we can customize experience better?

**URL:** https://meta.discourse.org/t/per-page-classes-so-we-can-customize-experience-better/62755
**Category:** UX
**Created:** [May 15, 2017, 9:53pm UTC](https://meta.discourse.org/t/per-page-classes-so-we-can-customize-experience-better/62755 "2017-05-15T21:53:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jlippiner](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@jlippiner](https://meta.discourse.org/u/jlippiner)
#### Post date: [May 15, 2017, 9:53pm UTC](https://meta.discourse.org/t/per-page-classes-so-we-can-customize-experience-better/62755/1 "2017-05-15T21:53:34Z")

</div>

Hi -

I’m new to Discourse so maybe this is an open I am not seeing. I want to be able to customize certain pages, such as the homepage, so it looks different. Maybe it has a header image or a search bar - not sure.

Anyway, a SIMPLE way to accomplish this would be to add appropriate classes to each page in the header or body. So the homepage might have something like `homepage` as a body class and a category page might have something like `category category-slug` as the classes for that page. Etc etc.

Then we can use the theme CSS customization (and JS customization if that’s possible) to easily customize each page.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 15, 2017, 9:59pm UTC](https://meta.discourse.org/t/per-page-classes-so-we-can-customize-experience-better/62755/2 "2017-05-15T21:59:30Z")

</div>

These already exist

The ‘home’ pages have body classes of

```plaintext
navigation-topics

```

and category pages have something like (for the #Contribute > UX category on meta)

```plaintext
categories-list category-ux

```

Posts within a category have a body class to do with the category. For example this page right now has a body class of

```plaintext
archetype-regular category-ux

```
