---
title: "Custom Hide Posts Sidebar"
description: "Thesis Ghost theme posts sidebar shows on all posts and pages. Hide it per post with #hide-posts-sidebar, or on all pages with CSS in Code Injection."
url: "https://www.priority.vision/docs/thesis/custom-hide-posts-sidebar"
scope: theme
appliesTo: [Thesis]
lastUpdated: 2026-10-01
---

# Hide Posts Sidebar

Thesis theme comes with posts sidebar. It is placed on all posts and pages, and to hide it there is support for internal tag and for custom CSS.

## Option 1: Internal tag

If you prefer to hide posts sidebar only in certain posts/pages, you can use the internal tag system in Ghost:

1. Log in to Ghost admin
1. Go to **Posts**, and open the post
1. Open the ** Post settings** sidebar
1. Add the `#hide-posts-sidebar` tag to **Tags**
1. Click **Publish**

The sidebar is now hidden in posts with the `#hide-posts-sidebar` internal tag.

    Remember that internal tags starting with `#` are not visible to readers and are used only for theme features and integrations.

## Option 2: Custom CSS

  [Code Injection](/docs/guides/custom-code-injection/) is required to add custom
  CSS.

You can **hide** the sidebar **on all pages** with the following CSS:

```html
<style>
  .main {
    grid-template-columns: var(--sidebar--width) minmax(0, 1fr);
  }

  .content > .header > .button,
  .sidebar-posts {
    display: none;
  }

  @media (max-width: 950px) {
    .content > .header > .button {
      display: block;
    }

    .header > .breadcrumbs {
      justify-content: center;
    }
  }
</style>
```

Use the body class to show/hide sidebar on different pages. For example, **show** the sidebar **only in posts**:

```html
<style>
  body:not(.post-template) .main {
    grid-template-columns: var(--sidebar--width) minmax(0, 1fr);
  }

  body:not(.post-template) .content > .header > .button,
  body:not(.post-template) .sidebar-posts {
    display: none;
  }

  @media (max-width: 950px) {
    body:not(.post-template) .content > .header > .button {
      display: block;
    }

    body:not(.post-template) .header > .breadcrumbs {
      justify-content: center;
    }
  }
</style>
```

## Documentation Index
> Fetch the complete documentation index at: https://www.priority.vision/docs/thesis/llms.txt
> Use this file to discover all available pages before exploring further.
