WordPress.org

Ready to get started?Download WordPress

Forums

hide left sidebar on all pages except blog? (7 posts)

  1. kitschnsink
    Member
    Posted 3 years ago #

    Is it possible to hide the left sidebar or all of its contents (archives, categories, recent posts) on all of the pages and have it only show on the blog pages?

    Kitschnsink

  2. TheOrganicSister
    Member
    Posted 3 years ago #

    does your theme have a no-sidebars template? if so, when you edit your page you should be able to choose the template.

  3. kitschnsink
    Member
    Posted 3 years ago #

    The theme I'm using has a left and right sidebar.

    http://jeanneripley.com/wordpress/

    Any ideas on how to show the left sidebar on just the blog pages?

    Kitschnsink

  4. pikkabbu
    Member
    Posted 3 years ago #

    You should have a look to this plug-in
    http://wordpress.org/extend/plugins/custom-sidebars/

  5. kitschnsink
    Member
    Posted 3 years ago #

    Thanks pikkabbu.

    I'd rather not use a plugin.

    I was able to hide the left sidebar on "pages" by commenting out the code '<?php include(TEMPLATEPATH . "/leftsidebar.php"); ?>' but that messed up the template. I guess I'd need to add an empty div there or something. I'm still learning how to work in "web".

    Kitschnsink

  6. kitschnsink
    Member
    Posted 3 years ago #

    So, I've solved the problem about hiding the sidebar on 'pages'. Now I have a problem with the entire mainnav moving over to the very left edge of my page.

    Does anyone know how I can solve this? I'd like for the mainnav to stay where it was (center of page) when I disable the leftsidebar on 'pages'.

    Kitschnsink

  7. pikkabbu
    Member
    Posted 3 years ago #

    As I'm a newbie, the only way I can help, is talking about the plugins I know ;-)

    Can you use a table?

    I guess you could define a table with the 1st column empty

    td width 25% for example.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.