Skip to main content

Snippet: Hide parent posts

This snippet will hide parent posts on the timeline.


Go to Settings -> Client Settings -> General -> Custom CSS and paste the following code into the text box:

.notes div[tabindex="-1"] {
  overflow: visible;
  contain: none;

.notes div[tabindex="-1"] .reply-to {
  position: absolute;
  left: 2%;
  bottom: calc(100% - 1em);
  max-width: 85%;
  box-sizing: border-box;
  background: var(--panelHighlight);
  z-index: 1000;
  padding: 20px 24px;
  box-shadow: 0 .5em 2em rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility 0s ease .2s;

.notes div[tabindex="-1"]:hover .reply-to {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease .75s, visibility 0s ease .75s;

This snippet will hide parent posts on the timeline, instead allowing you to hover over a reply to view the parent post instead.

A reply with the parent post hidden...

... and visible when hovering over the child post.

The parent post will become visible after a short delay in order to prevent parent posts from popping up as your are scrolling your timeline.

Author: @volpeon