# 如何让所有主题中的论坛按钮变圆

**URL:** <https://meta.discourse.org/t/how-to-make-forum-buttons-rounded-across-all-themes/316874>\
**Category:** Product Support\
**Created:** [2024 年7 月 17 日 19:36 UTC](https://meta.discourse.org/t/how-to-make-forum-buttons-rounded-across-all-themes/316874 "2024-07-17T19:36:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Aaron\_Walsh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aaron_walsh/32/312661_2.png) [@Aaron\_Walsh](https://meta.discourse.org/u/Aaron_Walsh)\
发布日期： [2024 年7 月 17 日 19:36 UTC](https://meta.discourse.org/t/how-to-make-forum-buttons-rounded-across-all-themes/316874/1 "2024-07-17T19:36:00Z")

</div>

晚上好，

我正在尝试让我的论坛上的所有按钮都变成圆角方形。我在 CSS/HTML 中使用了以下 CSS：

`.btn { border-radius: 5px; }`

这在预览选项卡中有效，但在将组件包含在这些主题中后，在实时论坛中却无效。

论坛当前状态：

 ![This image shows the interface of an online forum or discussion board, with menus for creating a new topic, selecting categories, formatting options, and a text entry area for posting content. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/8/9/7/897de4e4bf21eb7fd3f1b0e1878195e9afa15310.jpeg)

使用 CSS 后：

 ![Screenshot_20240717_202839_Chrome](https://global.discourse-cdn.com/meta/original/4X/b/4/f/b4fa59d159aca2ee161f022cd43cf1287fde7404.jpeg)

在 Meta 上，使用 Fully 主题时，按钮是圆角的。但是，在我的论坛上使用此主题时，它们却不是。

---

_[View the full topic](https://meta.discourse.org/t/how-to-make-forum-buttons-rounded-across-all-themes/316874)._
