# カテゴリのスタイルを変更するには？

**URL:** <https://meta.discourse.org/t/how-to-change-categories-style/78067>\
**Category:** UX\
**Created:** [2018 年 1 月 15 日午後 1:52 UTC](https://meta.discourse.org/t/how-to-change-categories-style/78067 "2018-01-15T13:52:18Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)\
**Post date:** [2020 年 2 月 24 日午後 9:26 UTC](https://meta.discourse.org/t/how-to-change-categories-style/78067/22 "2020-02-24T21:26:22Z")

</div>

以下のような例が挙げられています：

> [@How to change categories style?](https://meta.discourse.org/t/how-to-change-categories-style/78067/14?u=bekircem):
>
> There many ways to center things with CSS. I had a bit of time so I decided to revise the code to something a little bit more presentable. Here’s what I ended up with: And here’s what the code looks like: .categories-and-latest { flex-direction: column; } .category-list { thead, .topics, .subcategories, .category-description { display: none; } tbody { text-align: center; tr { display: inline-block; width: 250px; height: 250px; margin: 0.75em…

ここをいくつか変更する必要があると思います：

```
.category-list {
	thead,
	.topics,
	.subcategories,
	.category-description {
		display: none;
	}

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-change-categories-style/78067)._
