Forums

[resolved] Removing sidebar from pages (not posts) (5 posts)

  1. christianharris
    Member
    Posted 3 years ago #

    Is there a quick way to remove my sidebar from static pages like 'About' and 'Contact'? http://itreviewed.net/index.php/about/

    Thanks in advance!

  2. 8persap
    Member
    Posted 2 years ago #

    Hello Christian - I have the very same question. How it you fix this?

    Mark.

  3. GregorAnton
    Member
    Posted 2 years ago #

    I'm looking for the answer on this as well.

  4. Rickder 6
    Member
    Posted 2 years ago #

    I would like to do the same thing, how is this done? Thank you in advanced.

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    it's not always that simple.

    the easy part is this, remove <?php get_sidebar(); ?> from page.php

    That gets rid of your sidebar. However, chances are your page.php layout was designed with that sidebar in mind....so taking it out will leave a gaping hole. You would then need to do some css modification (adding in new classes) to account for the wider content area

Topic Closed

This topic has been closed to new replies.

About this Topic