Remove sidebar column in some pages? Please Help
What I managed to do is to remove the sidebar, but the remaining content won't span the entire width, the used-to-be sidebar area simply becomes blank.
The steps I took:
* Duplicate the content of the page.php with the following modifications:
1) add
<?php
/*
Template Name: Custom Page
*/
?> before all pre-existing codes.
2) Remove <?php get_sidebar(); ?>
3) Change the div id from "pagecontent" to "custom-page-content-wrapper"
4) Save it as another .php file and upload to WP via Filezilla
5) Then I opened the style.css and at the bottom, I add
#custom-page-content-wrapper
{
width: 100%;
float: left;
margin: 0;
}
6) I was able to go to the designated page and switch the template to the new one. And it does remove all content from the sidebar except the remaining content doesn't expand over the full width. Please help. Thanks.
Largest Selection of PLR Articles on the Planet! PLR Ebooks, PLR Video, PLR Websites and more with Private Label Rights