# Category Specific Styling Question

**URL:** https://meta.discourse.org/t/category-specific-styling-question/159106
**Category:** Support
**Created:** [July 28, 2020, 9:16pm UTC](https://meta.discourse.org/t/category-specific-styling-question/159106 "2020-07-28T21:16:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mb5789](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mb5789](https://meta.discourse.org/u/mb5789)
#### Post date: [July 28, 2020, 9:16pm UTC](https://meta.discourse.org/t/category-specific-styling-question/159106/1 "2020-07-28T21:16:48Z")

</div>

Hey everyone, was hoping I could get some help with an issue I’ve been having. I’m currently styling my Discourse instance with one set of default styles and one specialty set of styling for a specific category (let’s call it “Training”). I’m doing this by hiding/showing elements based on the class of `category-training` being present or not on the `body` tag. The styling works perfectly, outside of a specific instance.

When clicking between the nav-pills of the category (“Latest”, “Top”, etc) Discourse removes the `category-training` class and reapplies it when the page is finished loading. This causes the default styles to flash on the screen for a second before applying the `category-training` based styles again. Is there an easy way to remedy this issue? Any help would be greatly appreciated
