# Body class from category not loading on topics on first load?

**URL:** <https://meta.discourse.org/t/body-class-from-category-not-loading-on-topics-on-first-load/32463>\
**Category:** Bug\
**Created:** [Août 24, 2015, 11:47 UTC](https://meta.discourse.org/t/body-class-from-category-not-loading-on-topics-on-first-load/32463 "2015-08-24T11:47:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![charleswalter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/charleswalter/32/116433_2.png) [@charleswalter](https://meta.discourse.org/u/charleswalter)\
**Post date:** [Août 24, 2015, 11:54 UTC](https://meta.discourse.org/t/body-class-from-category-not-loading-on-topics-on-first-load/32463/2 "2015-08-24T11:54:35Z")

</div>

Interestingly, this problem appears when accessing topics from a category. When accessing topics from the homepage of the site (categories index, latest posts, etc.), the topic page appears to apply the body class accordingly.

I assume it has to do with the way the web application is rendering the topic pages.

The problem can be seen my visiting this category and clicking on to a topic.  
[http://www.helloforos.com/c/entretenimiento/chismesgordos](http://www.helloforos.com/c/entretenimiento/chismesgordos)

---

_[View the full topic](https://meta.discourse.org/t/body-class-from-category-not-loading-on-topics-on-first-load/32463)._
