# How to make pinned items have less text underneath them

**URL:** <https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425>\
**Category:** Product Support\
**Created:** [November 18, 2020, 12:30am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425 "2020-11-18T00:30:25Z")\
**Posts on this page:** 15\
**Page:** 1

## AI-generated summary

In a support discussion titled *How to make pinned items have less text underneath them*, [CaptainZac](/t/-/170425/1) seeks to reduce the amount of text shown under globally pinned topics to save space. [omarfilip](/t/-/170425/2) suggests adjusting settings via the Admin panel under *excerpt*, specifically recommending unchecking *Show excerpt on pinned topics in mobile view* [4] or reducing *topic excerpt maxlength* to 220 (default) [8]. However, [CaptainZac](/t/-/170425/7) reports no visible change after adjustments. [omarfilip](/t/-/170425/10) confirms the issue, noting only the mobile setting affects display. [awesomerobot](/t/-/170425/14) clarifies that *topic excerpt maxlength* applies to new topics and recommends a *rebake* of existing posts via command line: `rake posts:rebake` after entering the app container. [CaptainZac](/t/-/170425/15) asks where to run the command, and [awesomerobot](/t/-/170425/16) explains SSH access to the server is required — [CaptainZac](/t/-/170425/17) concludes they’ll need to contact their Discourse hosting provider to execute it. A related guide on CSS changes is also referenced [13].

<div class="post-metadata">

**Author:** ![CaptainZac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/captainzac/32/195184_2.png) [@CaptainZac](https://meta.discourse.org/u/CaptainZac)\
**Post date:** [November 18, 2020, 12:30am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/1 "2020-11-18T00:30:25Z")

</div>

How can I make it so that the items that I pin Globally have less text under them. They take up a lot of space on the page, and I want to leave some space open so people don’t have to scroll through the pinned Topics every time they want to get to the other topics. How do I shorten the amount of words here? I’m sure there’s a setting for it somewhere…

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/c/4c9d4ae6dd95cde2a9e2b3b9ace4842e2f3c2a09.jpeg)

---

<div class="post-metadata">

**Author:** ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**Post date:** [November 18, 2020, 12:34am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/2 "2020-11-18T00:34:14Z")

</div>

Filter for _excerpt_ in the Admin. There are several settings you can adjust, including hiding the excerpt on mobile view.

`/admin/site_settings/category/all_results?filter=excerpt`

---

<div class="post-metadata">

**Author:** ![CaptainZac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/captainzac/32/195184_2.png) [@CaptainZac](https://meta.discourse.org/u/CaptainZac)\
**Post date:** [November 18, 2020, 12:42am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/3 "2020-11-18T00:42:23Z")

</div>

Which setting do I use here to control that

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/a/fa8f23619fca499845cf10737faecb2bd13ac4ff.jpeg)

---

<div class="post-metadata">

**Author:** ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**Post date:** [November 18, 2020, 12:43am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/4 "2020-11-18T00:43:49Z")

</div>

Uncheck _Show excerpt on pinned topics in mobile view._

---

<div class="post-metadata">

**Author:** ![CaptainZac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/captainzac/32/195184_2.png) [@CaptainZac](https://meta.discourse.org/u/CaptainZac)\
**Post date:** [November 18, 2020, 12:45am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/5 "2020-11-18T00:45:10Z")

</div>

Right, but I still want to be shown… Like this

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/4/c4c22504fe337a6b7fad0a53be04dda833e04fe9.jpeg)

---

<div class="post-metadata">

**Author:** ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**Post date:** [November 18, 2020, 12:46am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/6 "2020-11-18T00:46:36Z")

</div>

In that case your option is to reduce the _post excerpt maxlength_ back to the default 300 characters or play with it to see what works for you.

---

<div class="post-metadata">

**Author:** ![CaptainZac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/captainzac/32/195184_2.png) [@CaptainZac](https://meta.discourse.org/u/CaptainZac)\
**Post date:** [November 18, 2020, 1:01am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/7 "2020-11-18T01:01:19Z")

</div>

I set it to that and it changed nothing

---

<div class="post-metadata">

**Author:** ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**Post date:** [November 18, 2020, 1:05am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/8 "2020-11-18T01:05:22Z")

</div>

Correction: adjust the _topic excerpt maxlength_ instead of _post_. The default is 220.

---

<div class="post-metadata">

**Author:** ![CaptainZac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/captainzac/32/195184_2.png) [@CaptainZac](https://meta.discourse.org/u/CaptainZac)\
**Post date:** [November 18, 2020, 1:06am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/9 "2020-11-18T01:06:21Z")

</div>

That still didn’t change anything…

---

<div class="post-metadata">

**Author:** ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**Post date:** [November 18, 2020, 1:18am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/10 "2020-11-18T01:18:50Z")

</div>

Well, you’re right. I can’t get the expected behavior, either. The only change that makes any difference is the `show pinned excerpt mobile` setting.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [November 18, 2020, 1:22am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/13 "2020-11-18T01:22:37Z")

</div>

See [Making custom CSS changes on your site](https://meta.discourse.org/t/how-to-make-css-changes-on-your-site/168101)

---

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [November 18, 2020, 1:35am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/14 "2020-11-18T01:35:51Z")

</div>

`topic excerpt maxlength` should work on new topics, and I believe you’ll need a rebake for it to work on existing topics.

A rebake of all posts can be done via the command line:

```plaintext
cd /var/discourse
./launcher enter app
rake posts:rebake

```

---

<div class="post-metadata">

**Author:** ![CaptainZac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/captainzac/32/195184_2.png) [@CaptainZac](https://meta.discourse.org/u/CaptainZac)\
**Post date:** [November 18, 2020, 1:36am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/15 "2020-11-18T01:36:51Z")

</div>

Thank you, I apologize. And just one last quick question, where would I put this command for it to work?

---

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [November 18, 2020, 1:38am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/16 "2020-11-18T01:38:16Z")

</div>

You need to be able to access the server where your site is hosted via ssh.

---

<div class="post-metadata">

**Author:** ![CaptainZac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/captainzac/32/195184_2.png) [@CaptainZac](https://meta.discourse.org/u/CaptainZac)\
**Post date:** [November 18, 2020, 1:38am UTC](https://meta.discourse.org/t/how-to-make-pinned-items-have-less-text-underneath-them/170425/17 "2020-11-18T01:38:50Z")

</div>

OK, thanks. I’ll have to contact discourse hosting, who runs my website in order to do that. Thank you for your help
