# 如何更改标题中的文本颜色？

**URL:** https://meta.discourse.org/t/how-do-i-change-text-color-in-my-header/250601
**Category:** Support
**Tags:** css
**Created:** [2023年一月3日 18:00 UTC](https://meta.discourse.org/t/how-do-i-change-text-color-in-my-header/250601 "2023-01-03T18:00:01Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [2023年一月3日 23:49 UTC](https://meta.discourse.org/t/how-do-i-change-text-color-in-my-header/250601/3 "2023-01-03T23:49:33Z")

</div>

我认为主页面的主要颜色仅适用于 Discourse 的原生页面，而不适用于您在第一个屏幕截图中显示的区域，那些是自定义的。

您可能需要使用 CSS 来自定义。

您可以去那里学习一些有用的东西。下次您需要此类自定义时，这将对您大有帮助：

> [@Making custom CSS changes on your site](https://meta.discourse.org/t/make-css-changes-on-your-site/168101):
>
> bookmark This guide explains how to make CSS changes on your Discourse site, including an introduction to CSS, where to add CSS in Discourse, and how to find the right selectors using browser inspection tools. person_raising_hand Required user level: Administrator Summary This guide covers: A brief introduction to CSS and key concepts How to add CSS to your Discourse site using theme components Using browser inspection tools to find the right CSS selectors Understanding CSS basics C…

并注意这一点：

> [@Policy notice: no basic HTML / CSS questions please](https://meta.discourse.org/t/policy-notice-no-basic-html-css-questions-please/168033):
>
> We do enjoy helping people with their free, open source Discourse instances, and that is indeed part of our responsibility to the open source community. hugs However: Over time, there has been a constant influx of basic HTML and CSS questions that are taking time away from us helping with more substantive issues specific to Discourse. It’s not a productive use of our time to teach basic HTML and CSS. There are thousands of online resources that describe how to make changes on an HTML pa…

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-change-text-color-in-my-header/250601)._
