Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable sidebar in groups pages in buddypress default

  • @leguis08

    Participant

    How can i disable sidebar in buddypress default theme in groups page and groups pages in full size. Sorry for my bad english.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • @mercime

    Participant

    Assuming that you’re using a child theme of bp-default, the easiest and simplest way is adding the following in your child theme’s style.css:

    body.groups div#sidebar { display: none }
    body.groups div#content .padder { border-right: 0px; margin-right:0px; }

    @leguis08

    Participant

    @mercime thanks works great 8)

    @markbannister

    Member

    Having some trouble with this myself.
    Tried this with no avail. Using Graphene and just need to remove sidebar on BP pages. http://www.stThomasBBQ.org
    I installed graphene first, then installed BP when I found it.
    also tried this PHP code http://buddypress.pastebin.com/tkUDryN3 , added it to buddypress sidebar.php
    I know a little css and php, but not sure what to try now.

    @mercime

    Participant

    @markbannister in your case, change selector to your container div ID’s
    `body.groups div#sidebar_right { display: none }
    body.groups div#content-main { width: 900px; }`

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable sidebar in groups pages in buddypress default’ is closed to new replies.
Skip to toolbar