Skip to:
Content
Pages
Categories
Search
Top
Bottom

Wanted to remove sidebar from bbPress 2.4


  • NerVe Aedy
    Participant

    @nerve-aedy

    Hello.

    I wanted to remove sidebar from my bbPress forum. Please help me.

    Forum link is Here

    Thanks. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

  • koendb
    Participant

    @koendb

    Hey.

    If you haven’t created a child theme, start with doing that.

    Create the file bbpress.php in your child theme.
    Copy the content of your page.php file into this new file.
    Remove the line

    <?php get_sidebar(); ?>

    You’ve removed the sidebar 🙂

    Now you only need to change / add some classes / ID’s and adjust your CSS file to give the forum a 100% width.

    Keep me updated 🙂


    NerVe Aedy
    Participant

    @nerve-aedy

    Isn’t working. 🙁


    koendb
    Participant

    @koendb

    To me it seems it all works perfectly. Just add
    .two_third { width: 100%; }

    to your .css file


    adaba063
    Participant

    @adaba063

    thank you koendb for the info about resizing the forum page

    however, I am still having a problem with the subpages of the forum still showing the sidebar

    how do I remove the sidebar from the forum subpages?


    adaba063
    Participant

    @adaba063

    sorry forgot to include info regarding the website I am working on

    http://derrallbellaire.info

    username: test001
    password: test001

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar