Title: sidebar stuck on posts
Last modified: October 17, 2018

---

# sidebar stuck on posts

 *  Resolved [shoushin](https://wordpress.org/support/users/shoushin/)
 * (@shoushin)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/sidebar-stuck-on-posts/)
 * When I do a clean install with twentyseventeen as theme, and click on a post,
   the sidebar goes away and the post fills the whole width. This is what I expect
   and want.
 * I am working on a twentyseventeen-child theme, and noticed that I had broken 
   this function (the sidebar was stuck on posts as well as the homepage).
 * My problem is, even when I revert to twentyseventeen original theme, the problem
   remains. Even when I remove the twentyseventeen-child folder.
 * I encountered it on my pc. Then replicated it remotely with a new install.
 * What is going on, how do I fix it (other than a completely new install)?
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsidebar-stuck-on-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [HudsonValleyWebDesign](https://wordpress.org/support/users/jaycbrf/)
 * (@jaycbrf)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/sidebar-stuck-on-posts/#post-10790085)
 * The post page has the class “has-sidebar”
    you can edit the post template to 
   remove the call for the sidebar [https://developer.wordpress.org/themes/template-files-section/page-template-files/](https://developer.wordpress.org/themes/template-files-section/page-template-files/)
 *  Thread Starter [shoushin](https://wordpress.org/support/users/shoushin/)
 * (@shoushin)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/sidebar-stuck-on-posts/#post-10791483)
 * Thanks for your reply. It helps me understand where the problem might reside,
   or how to fix it if I can’t prevent the problem from occurring in the first place.
 * [edit: removed wrong assumption]
    -  This reply was modified 7 years, 8 months ago by [shoushin](https://wordpress.org/support/users/shoushin/).
 *  Thread Starter [shoushin](https://wordpress.org/support/users/shoushin/)
 * (@shoushin)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/sidebar-stuck-on-posts/#post-10791536)
 * So I was wrong. The default theme has also a sidebar on pages. It appears as 
   soon as there is one widget in the sidebar. Nothing broken, just unexpected.
 * I will try to modify that behavior. Thanks.
    -  This reply was modified 7 years, 8 months ago by [shoushin](https://wordpress.org/support/users/shoushin/).
    -  This reply was modified 7 years, 8 months ago by [shoushin](https://wordpress.org/support/users/shoushin/).
 *  Thread Starter [shoushin](https://wordpress.org/support/users/shoushin/)
 * (@shoushin)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/sidebar-stuck-on-posts/#post-10791594)
 * Done.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘sidebar stuck on posts’ is closed to new replies.

## Tags

 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [shoushin](https://wordpress.org/support/users/shoushin/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/sidebar-stuck-on-posts/#post-10791594)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
