# Can we arrange the subcategories like this?

**URL:** <https://meta.discourse.org/t/can-we-arrange-the-subcategories-like-this/311917>\
**Category:** Development\
**Tags:** css\
**Created:** [June 13, 2024, 1:17pm UTC](https://meta.discourse.org/t/can-we-arrange-the-subcategories-like-this/311917 "2024-06-13T13:17:43Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![saurabhmithal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saurabhmithal/32/378295_2.png) [@saurabhmithal](https://meta.discourse.org/u/saurabhmithal)\
**Post date:** [June 14, 2024, 3:07am UTC](https://meta.discourse.org/t/can-we-arrange-the-subcategories-like-this/311917/8 "2024-06-14T03:07:18Z")

</div>

> [@Alteras](#):
>
> ```plaintext
> .category-list .subcategories {
> display: grid;
> grid-template-columns: repeat(auto-fill, minmax(125px, min-content));
> }
> 
> ```

how can I add this to the theme in my community.

can someone help?

thanks.

---

_[View the full topic](https://meta.discourse.org/t/can-we-arrange-the-subcategories-like-this/311917)._
