# סרגל כלים מתחת לכותרת האתר לפי קטגוריה

**URL:** <https://meta.discourse.org/t/toolbar-under-site-header-per-category/252638>\
**Category:** Development\
**Created:** [23 בינואר,‏ 2023,‏ 4:19pm UTC](https://meta.discourse.org/t/toolbar-under-site-header-per-category/252638 "2023-01-23T16:19:00Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [23 בינואר,‏ 2023,‏ 11:40pm UTC](https://meta.discourse.org/t/toolbar-under-site-header-per-category/252638/10 "2023-01-23T23:40:48Z")

</div>

> [@Heliosurge](#):
>
> With this base code will it still display if in a subcategory of the parent? or do I need to add the Subcategories to the condition?

Subcategories have their very own class in the body tag.

For example, in [https://meta.discourse.org/c/support/wordpress/21](https://meta.discourse.org/c/support/wordpress/21), #Support > WordPress is a subcategory of #Support.

The category class on `<body>` is: `category-support-wordpress`.

If you want the banner to be displayed in the subcategories as well as their parent, the SCSS code should be different. I can have a look tomorrow.

---

_[View the full topic](https://meta.discourse.org/t/toolbar-under-site-header-per-category/252638)._
