政策通知:请勿提问基础 HTML / CSS 问题

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 page with a few CSS rules. We would much rather spend that time troubleshooting Discourse and improving Discourse for you.

  • Furthermore, these topics tend to be very specific to the particular needs of particular sites and not very generalizable or helpful to future visitors who might stumble upon that topic.

So from this point on, we will be closing any questions about rudimentary HTML and CSS changes, instead pointing them to a general Discourse topic that describes how to use the F12 key in your browser to find HTML targets, and how to add basic CSS lines to your site customization, with a few examples, and maybe links to public HTML and CSS tutorials elsewhere on the web.

These questions will also be marked for auto-deletion after 24 hours.

(Note that if you are a Discourse hosted customer, we are much more open to assisting with these kinds of tasks, within the time constraints of your particular hosting plan.)

Thank you for your understanding. :discourse:

24 个赞

只是想补充一下上面的内容:

Meta 不是一个用于学习 CSS 入门的完整指南的专用支持站点——就像它不是一个用于从零开始学习 Ruby 和 JavaScript 的专用支持站点一样,如果您想通过插件自定义 Discourse 的行为。

如果您想自定义 Discourse 的外观,您将需要更多地了解 CSS。

这里有一些关于制作主题、主题组件和插件的指南,这些指南是针对 Discourse 的,但不是为了从零开始学习 CSS 或 Ruby 的流利程度,因为这是一项通用技能。有时人们有时间提供帮助,但这并不总是可能的,因为它意味着需要回顾一般的 HTML 和 CSS 知识——检查器、类和属性等基础知识。

上面链接的指南可以帮助您入门,以及《Discourse 主题开发入门指南》:

如果您想进行广泛的自定义——或者您可能没有时间学习——另一个选择是在 Marketplace 中发帖。

6 个赞