# Adding a class to css

**URL:** https://meta.discourse.org/t/adding-a-class-to-css/88546
**Category:** UX
**Created:** [May 27, 2018, 7:27pm UTC](https://meta.discourse.org/t/adding-a-class-to-css/88546 "2018-05-27T19:27:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Stranik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stranik/32/85638_2.png) [@Stranik](https://meta.discourse.org/u/Stranik)
#### Post date: [May 27, 2018, 7:27pm UTC](https://meta.discourse.org/t/adding-a-class-to-css/88546/1 "2018-05-27T19:27:23Z")

</div>

At the moment, on the pages:

```plaintext

https://meta.discourse.org/latest
https://meta.discourse.org/new
https://meta.discourse.org/unread
https://meta.discourse.org/top
...

```

Class used:

```plaintext
<body class="navigation-topics" ...

```

offer

```plaintext
<body class="navigation-topics latest" 
<body class="navigation-topics new" 
<body class="navigation-topics unread" 
<body class="navigation-topics top" 
...

```

why?

Added more options for sorting topics on pages. For example:

```plaintext

<style>.navigation-topics tr.category-other{display: none;}</style>

{{#if currentUser.custom_fields.other_profile}}
   <style>.navigation-topics tr.category-other{display: table-row !important;}</style>
{{/if}}

```
