X - Problems Removing Sidebar From Blog Posts

Hi,

I’m having problems removing the sidebar from my blog posts and could use some help!

To explain:

  • I’m using the Integrity stack and have modified the theme to a limited extent in a child-theme.
  • I’m trying to set up my site so that I’ve custom sidebars on a few pages - I’ve got these working OK.
  • I don’t want a sidebar on my blog pages - I want blog pages to be full-width. So I’ve tried to remove the sidebars from blog pages using the approach described in this support response - https://theme.co/apex/forum/t/remove-blog-sidebar/16543
  • The above doesn’t fix the issue for me, the sidebars remain on my blog posts.
  • I’ve then tried the approach mentioned in this support response - https://theme.co/apex/forum/t/remove-sidebar-from-blog/17660/3. That removes the sidebar allright, but my blog page doesn’t move to full-width. Instead it remains the same width, just without the sidebar.

So I’m stumped!

Anything you can suggest to suggest to get the blog posts displaying without a sidebar and full-width will be very helpful!

Sorry, I said Pro in my post, I mean to say X! Sorry!

Hey There,

Please try updating the custom CSS to this:

.single-post .x-sidebar {
    display: none !important;
}
.single-post .x-main {
    width: 100%;
}

Let us know how it goes!

Thanks for the very rapid reply and that fixed it. Many thanks!!!

You’re most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.