Support » Themes and Templates » remove side bar from 1 page

  • Hi I am looking to remove the side bar from one page one my blog.
    And I got it of with the help of this thread here
    But i cant get the page to widen out to fill the side bar.

    if you look at my blog you will see what I am talking about
    the google search page gets cut off any help would be great. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • if you are using WP 2.5 or later you can try the following ↓ place the code inside your theme’s function.php.

    function wpi_custom_page_styles(){
     $pid = 'refi-google-search'; 
     if (is_page($pid) ): ?>
    <style type="text/css">
     /* full width 926px + 25px (left &amp; right) padding */
     #content{ width: 901px }
    <?php endif; } ?>

    It didnt work it jack my stuff up bad. I had to reload the function file.
    Maybe i put it in the wrong spot I put it at the bottom just before the close tag.

    try place it after the closing PHP tag ?>.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘remove side bar from 1 page’ is closed to new replies.