# Sidebar on the Homepage and desktop only

**URL:** https://meta.discourse.org/t/sidebar-on-the-homepage-and-desktop-only/77403
**Category:** Support
**Created:** [January 7, 2018, 8:50am UTC](https://meta.discourse.org/t/sidebar-on-the-homepage-and-desktop-only/77403 "2018-01-07T08:50:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jay91](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jay91/32/135181_2.png) [@Jay91](https://meta.discourse.org/u/Jay91)
#### Post date: [January 7, 2018, 8:50am UTC](https://meta.discourse.org/t/sidebar-on-the-homepage-and-desktop-only/77403/1 "2018-01-07T08:50:11Z")

</div>

Hello friends,

How i can make a sidebar shows on the homepage, and desktop view only?  
in other words, i don`t want that sidebar to show on mobile and inside the posts, only on the homepage and desktop.

can i do this with categories? can i show the posts and categories on the homepage and desktop only and show last posts on the mobile?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![Stranik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stranik/32/85638_2.png) [@Stranik](https://meta.discourse.org/u/Stranik)
#### Post date: [January 7, 2018, 9:17am UTC](https://meta.discourse.org/t/sidebar-on-the-homepage-and-desktop-only/77403/2 "2018-01-07T09:17:38Z")

</div>

You can use the plugin: `*sidebar*`

> **[Build software better, together](https://github.com/search?utf8=%E2%9C%93&q=discourse+sidebar&type=)**
>
> GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

Based on them you can write your plugin, or use the ones that already exist and do everything you want.

 ![1](https://global.discourse-cdn.com/meta/original/3X/3/1/315f41a8fa841975bc6d22f475086014c4e0fefc.jpg)

Almost all sidebar plug-ins are used the way you want. In extreme cases, to turn off the display in the mobile version, you can apply the following `css` (for phones).

`.sidebar { display: none; }`

I like Discourse, a flexible platform. Thank you! 🎉

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:43pm UTC](https://meta.discourse.org/t/sidebar-on-the-homepage-and-desktop-only/77403/3 "2024-06-08T12:43:36Z")

</div>

This topic was automatically closed after 2344 days. New replies are no longer allowed.
