# 按类别划分的工具栏位于网站标题下方

**URL:** https://meta.discourse.org/t/toolbar-under-site-header-per-category/252638
**Category:** Development
**Created:** [2023年一月23日 16:19 UTC](https://meta.discourse.org/t/toolbar-under-site-header-per-category/252638 "2023-01-23T16:19:00Z")
**Posts on this page:** 1
**Showing post:** 13

<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年一月24日 23:18 UTC](https://meta.discourse.org/t/toolbar-under-site-header-per-category/252638/13 "2023-01-24T23:18:21Z")

</div>

基本上，您需要将此代码放在我的代码中，以替换 `<h2>` 标签及其内容。但我建议您根据自己的需求进行优化和调整，而不是简单地复制粘贴。

至于如何让元素列表内联而不是堆叠在一起，有很多 CSS 方法可以做到……其中许多方法都相当直接，但这有点超出了我们在此处提供的帮助范围。请参阅此说明：

> [@About the Dev category](https://meta.discourse.org/t/about-the-dev-category/1026):
>
> The category for all things Discourse Development. Building a customization for yourself or the community? Then this is the category for you! Questions and discussions about creating themes, theme components, plugins, help with submitting pull requests, configuring development environments, coding conventions, and so on and so forth are all welcome here. However, basic HTML and CSS questions are not in scope for support.

在这种关于通用、与 Discourse 无直接关系的 HTML 和 CSS 的情况下，您可以在此处找到信息：[Making custom CSS changes on your site](https://meta.discourse.org/t/make-css-changes-on-your-site/168101)  
而且几乎可以在互联网上的任何地方找到。例如：[https://www.google.com/search?q=css+make+list+element+inline](https://www.google.com/search?q=css+make+list+element+inline)

话虽如此，您目前掌握哪些 HTML 和 CSS 技能？  
了解更多信息将有助于我们提供更具针对性的回复。 🙂

---

_[View the full topic](https://meta.discourse.org/t/toolbar-under-site-header-per-category/252638)._
