<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Add Highlight&#x2F;Pin a specific post within a topic]]></title><description><![CDATA[<p dir="auto">Hello <a href="/user/baris%40community.nodebb.org">@baris</a> <a href="/user/julian%40community.nodebb.org">@julian</a></p>
<p dir="auto">Is it possible to add the ability for admins and moderators to visually highlight a specific post within a topic, directly from the post's edit/tools menu (the <code>⋮</code> ellipsis menu) ?</p>
<p dir="auto">Currently, NodeBB only allows pinning an entire topic to the top of a category. There is no native way to draw attention to a specific reply or post within a long thread.</p>
<p dir="auto">This is particularly useful when:</p>
<ul>
<li>A moderator or admin posts an important update mid-thread (e.g. rule changes, announcements, warnings)</li>
<li>A staff message needs to stand out from regular user replies</li>
<li>A thread is reopened with new conditions and the relevant post needs to be immediately visible</li>
</ul>
<p dir="auto">Right now, the only workaround is to manually add custom CSS targeting the post's <code>data-pid</code> attribute which is not user-friendly and requires admin-level CSS knowledge.</p>
<p dir="auto">When enabled, the post would:</p>
<ul>
<li>Display a visible banner/label above the post content (e.g. "<img src="https://postcall.pub/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4cc.png?v=af4d895db51" class="not-responsive emoji emoji-android emoji--pushpin" style="height:23px;width:auto;vertical-align:middle" title="📌" alt="📌" /> Important staff message" or other message)</li>
<li>Have a distinct visual style (colored border, background) to stand out from regular posts</li>
<li>Be toggleable (highlight / remove highlight)</li>
<li>Optionally allow a custom label text to be set</li>
</ul>
<p dir="auto"><strong>Suggested UI</strong></p>
<ul>
<li>In the <code>⋮</code> post tools menu: <code>📌 Highlight this post</code></li>
<li>A modal or inline input to optionally set a custom label</li>
<li>A highlighted post could expose a <code>data-highlighted</code> attribute or a <code>.highlighted</code> class for theme-level styling</li>
</ul>
<p dir="auto"><strong>Current Workaround</strong></p>
<pre><code class="language-css">li.material[component="post"][data-pid="XXXXX"]::after {
    content: "📌 Important staff message";
    position: absolute;
    top: 0; left: 0; right: 0;
    background: #f39c12;
    color: #fff;
    font-weight: bold;
    padding: 6px 14px;
}
</code></pre>
<p dir="auto"><strong>Example</strong></p>
<p dir="auto"><img src="https://camo.nodebb.org/602b4a4948ee5f416b571a19ad72d32a40e59830?url=https%3A%2F%2Fcommunity.nodebb.org%2Fassets%2Fuploads%2Ffiles%2F1778537820914-68725f2f-f460-462c-a03b-b32385a23d27-image.jpeg" alt="68725f2f-f460-462c-a03b-b32385a23d27-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">This works but requires manual CSS editing per post and breaks on theme changes.</p>
<p dir="auto">Many thanks</p>
]]></description><link>https://postcall.pub/topic/8b5233c1-3606-4675-bdff-a64ca2d2eec3/add-highlight-pin-a-specific-post-within-a-topic</link><generator>RSS for Node</generator><lastBuildDate>Thu, 25 Jun 2026 00:49:30 GMT</lastBuildDate><atom:link href="https://postcall.pub/topic/8b5233c1-3606-4675-bdff-a64ca2d2eec3.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 May 2026 22:17:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Add Highlight&#x2F;Pin a specific post within a topic on Mon, 11 May 2026 22:31:37 GMT]]></title><description><![CDATA[<p dir="auto"><a href="/user/downpw%40community.nodebb.org">@DownPW</a> it sounds like you are looking for the "suggested answer" part of the question and answer plugin.</p>
<p dir="auto">When an answer is selected, it is floated to the top of the replies.</p>
]]></description><link>https://postcall.pub/post/https://community.nodebb.org/post/107148</link><guid isPermaLink="true">https://postcall.pub/post/https://community.nodebb.org/post/107148</guid><dc:creator><![CDATA[julian@community.nodebb.org]]></dc:creator><pubDate>Mon, 11 May 2026 22:31:37 GMT</pubDate></item></channel></rss>