Reputation: 1
I would like to remove the right-hand sidebar from all pages. I have had limited success stopping it from displaying, but I also want the latest posts to fit across the area where the sidebar used to be. My theme is cyber chimps if you care, and I have tried live editing in Chrome, but that puts the content all over the place. Any ideas on how to do this?
Upvotes: 0
Views: 510
Reputation: 304
I just successfully removed the sidebar from my Single Page template on my website's theme. To do it, just comment out the code that triggers the sidebar. I highly recommend that you do NOT delete the code, as deleted code from Wordpress is hard to recover without a cold install of the theme. The code I found looked something like this:
<?php if ( empty( $po_layout ) ) get_sidebar(); ?>
I commented it out like so:
<?php /* if ( empty( $po_layout ) ) get_sidebar(); */ ?>
The important thing to be on the lookout for is this:
get_sidebar();
The get_sidebar(); function is what builds the sidebar on your website.
Good luck!
Upvotes: 1
Reputation: 1085
In your edit page screen, on the right hand side is a meta box titled 'Template'. Click on that and see if there's any titled something like 'no sidebar'.
If there's not, as the comments above state, you'll either need to edit your themes files, or hire someone to do it for you.
Upvotes: 1