# 我该如何设置“js.read\_more”的样式？

**URL:** https://meta.discourse.org/t/how-would-i-go-about-stylizing-js-read-more/301883
**Category:** Support
**Created:** [2024 年4 月 1 日 16:13 UTC](https://meta.discourse.org/t/how-would-i-go-about-stylizing-js-read-more/301883 "2024-04-01T16:13:38Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### 作者： ![45thj5ej](https://avatars.discourse-cdn.com/v4/letter/4/34f0e0/32.png) [@45thj5ej](https://meta.discourse.org/u/45thj5ej)
#### 发布日期： [2024 年4 月 1 日 16:13 UTC](https://meta.discourse.org/t/how-would-i-go-about-stylizing-js-read-more/301883/1 "2024-04-01T16:13:38Z")

</div>

基本上，我去了我的管理员设置中更改“read more”的文本，因为我想将“r”大写，而且我还想将其设置为 **粗体** 字体。我该如何进行？

---

<div class="post-metadata">

### 作者： ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### 发布日期： [2024 年4 月 1 日 18:33 UTC](https://meta.discourse.org/t/how-would-i-go-about-stylizing-js-read-more/301883/2 "2024-04-01T18:33:25Z")

</div>

我认为您要找的是：

```css
span.topic-excerpt-more {
    font-weight: bold;
    text-transform: capitalize;
}

```

---

<div class="post-metadata">

### 作者： ![45thj5ej](https://avatars.discourse-cdn.com/v4/letter/4/34f0e0/32.png) [@45thj5ej](https://meta.discourse.org/u/45thj5ej)
#### 发布日期： [2024 年4 月 1 日 19:21 UTC](https://meta.discourse.org/t/how-would-i-go-about-stylizing-js-read-more/301883/3 "2024-04-01T19:21:23Z")

</div>

好的，它实际上正在做我想要它做的事情，但是，当添加这段代码时，它会改变我的 `.discourse-tags` 的背景颜色。然后，当我手动更改标签的背景颜色时，您给我的代码就不起作用了……奇怪。顺便说一句，我正在为此使用 FBK Pro 主题。

编辑：好的，我不知道我做了什么，但我把你的代码放在了一个 global.scss 文件中，并在其中一个标签背景颜色后面添加了 “!important;”，现在它起作用了。🤷‍♂️

---

<div class="post-metadata">

### 作者： ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### 发布日期： [2024 年4 月 1 日 19:28 UTC](https://meta.discourse.org/t/how-would-i-go-about-stylizing-js-read-more/301883/4 "2024-04-01T19:28:31Z")

</div>

我现在很高兴它能正常工作！这个选择器很特别，那将是非常奇怪的。😄
