Viewing 5 replies - 1 through 5 (of 5 total)
  • edit your page.php file:

    remove this code from that page ‘<?php get_sidebar() ?>’

    Thread Starter torndownunit

    (@torndownunit)

    Will that remove it from just the Blog page though, or all pages? Thanks.

    That would remove it from all pages. I’m not sure why yours isn’t working, unless you modified some other code. I’ve done same on my site for a specific “sub-page”, and it worked fine:

    https://www.polywogg.ca/wp/transitions/transitions-main-page

    All I did was tell it on the post page to use the one-column, no sidebar template, and it worked fine.

    P.

    Other thought — did you delete your cache?

    Go to the page you want and on page attributes set to one column no side bar.

    Then change this bit of code in stylesheet.css

    LAYOUT: One column, no sidebar
    DESCRIPTION: One centered column with no sidebar
    */
    
    .one-column #content {
    	margin: 0 auto;
    	width: 640px;

    To

    LAYOUT: One column, no sidebar
    DESCRIPTION: One centered column with no sidebar
    */
    
    .one-column #content {
    	margin: 0 auto;
    	width: 900px;

    Worked for me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove sidebar from Blog page in twenty ten?’ is closed to new replies.