Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Looking to disable sidebar from Buddypress pages

  • Avatar of respectthefresh
    respectthefresh
    Participant

    @respectthefresh

    I’ve searched everywhere and have found many threads discussing this issue, but not clear enough (at least not clear enough for me)…

    The sidebar on my Buddypress pages (http://respectthefresh.com/rtf-members) isn’t aligned the way it should be; it gets pushed to the bottom of the page. I’ve done all I’ve could to get it to at least align correctly, but nothing has worked. No matter how much I tinker with the coding, I still fail.

    Now I just want to remove the sidebar from all of the Buddypress pages, which is ANOTHER thing that I can’t seem to figure out. It shouldn’t be that difficult to remove the sidebar from my Buddypress pages (even with the page set to ‘full-width’, the sidebar still shows).

    PLEASE could somebody give me a pointer or two as to how to accomplish this? I’ve spent a week trying to figure it out and I’m close to giving up in general :-(

    Thank you!!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of 4dmedia
    4dmedia
    Participant

    @4dmedia

    Hey, try adding the following to your css:

    #sidebar{
    display:none;
    }

    Avatar of respectthefresh
    respectthefresh
    Participant

    @respectthefresh

    Thanks for the response @4dmedia. That works to disable the sidebar from the entire site, but I just wanted to disable it for my buddypress pages (activity, members, etc.). Is there any way I can do that?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    I’ve done all I’ve could to get it to at least align correctly, but nothing has worked.

    I’ve posted instructions on Step 3 of the BP Compatibility Process for the Sahifa theme. You only need to create 2 files for theme compatibility. See http://wp.me/p1I84P-3m

    Avatar of respectthefresh
    respectthefresh
    Participant

    @respectthefresh

    Hey @mercime, thank you for your suggestion!

    Either my template is screwed up, or I’m a complete idiot. I followed the steps to integrate BP into the Sahifa theme, yet the same problem still occurs.
    Is the css from this page (http://codex.buddypress.org/legacy/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/) supposed to go into the Sahifa css, or do I create a new file and upload it into a certain folder?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Either my template is screwed up

    Note that the instruction also includes that if you’ve revised any of the BP templates in the 6 folders, delete those 6 folders in server and go through Appearance > BP compatibility again for a clean slate.

    Did you upload the two new files sidebar-buddypress.php nd header-buddypress.php to your theme folder in server i.e., wp-content/themes/sahifa/ per instruction? I don’t see the div elements added in those two files in the source code of http://respectthefresh.com/rtf-members/
    Otherwise, your sidebar won’t be dropping below content area.

    Is the css from this page supposed to go into the Sahifa css

    Yes. Easiest way is to add those at the bottom of your Sahifa style.css file. Then adjust to taste.

    Avatar of respectthefresh
    respectthefresh
    Participant

    @respectthefresh

    @mercime the instructions seem very clear and easy to follow, yet it still doesn’t work for me. I deleted the folders out of my server, created the header and .php files, uploaded them into my server and added the css to the Sahifa stylesheet.

    The pages don’t even come up at all. I’ve even disabled plugins to see what the problem is and nothing has worked :-(

    Avatar of respectthefresh
    respectthefresh
    Participant

    @respectthefresh

    Thanks for the help everybody. Unfortunately, I didn’t get the sidebar to align correctly, however I did accomplish what I was originally looking for. I was able to remove the sidebar from my buddypress pages, while keeping it on my other posts/pages.

    Thanks again!

    Avatar of yoluca
    yoluca
    Participant

    @yoluca

    hi, im using sahifa theme and i have the same issue with sidebars.

    need to remove sidebars from all buddypress pages . i fallow this guide but i get stuck deleting the 6 folders … which ones ?

    or is there any other way to just disable the sidebars for all buddypress pages? …

    compatibility its fine …

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

You must be logged in to reply to this topic.