Need help? Check out our Support site, then


How do I remove the sidebar from all pages (but not from the blog) ?

  1. I need to remove the sidebar from my site's pages at http://pyrodactyl.com .

    I am using the vigilance theme and have the Custom CSS upgrade.

    The blog I need help with is pyrodactyl.com.

  2. I will flag this thread so our Moderators move it to the CSS Forum for you. Since there is no official Staff support for the CSS upgrade, and precious little Volunteer support from only 2 volunteers I recommend that you read this article before starting your editing > http://csswiz.wordpress.com/2009/10/15/if-you-have-the-wp-com-css-upgrade/ Please be patient and consult tutorials found here > http://en.support.wordpress.com/custom-css/#css-help while waiting for a Volunteer to help you. :)

  3. There are several themes here that look similar to Vigilance that have "no-sidebar" page templates you can select in the "attributes" module in the page editor. That would leave the sidebar on post related pages (home, archives, categories, tags).

    To do it in vigilance would require the CSS upgrade and CSS editing experience.

  4. Sheesh, thanks TT, I need to have some coffee it appears.

    @avindrajayadav, I'll look at the CSS and be back.

  5. First question would be do you want to remove the sidebar everywhere? or just on static pages but not the "blog" page?

  6. OK, the following assumes you want to remove the sidebar from only the static pages and leave it on the "blog" page and other post related pages. It removes the sidebar and widens the content area.

    .page #sidebar {
    display: none;
    }
    
    #content {
    width: 970px;
    }
  7. Gaaaaahhhhh! I definitely need coffee. There is a mistake in the above. Use the following instead.

    .page #sidebar {
    display: none;
    }
    
    .page #content {
    width: 970px;
    }
  8. Thanks a lot for your help! The code works correctly.

  9. And sorry for asking this in the wrong section, I was confused if there a way to disable sidebars other than CSS editing.

  10. You are welcome and not a problem, the moderators will move it to the correct forum.

    In some themes as I mentioned, you can use the "no-sidebar" page template and have full-width static pages, but Vigilance does not have page templates.

    Also sorry for being mostly asleep. Must remember to not attempt answering forum questions till after I actually wake up.

  11. Thread moved to CSS froum.

    S^K

Topic Closed

This topic has been closed to new replies.

About this Topic