Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #379287

    Hi,

    I’m using Enfold theme and installed the BuddyPress but the self-created pages (Groups, Members, Activity, Registration and Activation) have this default sidebar and I already tried remove/changing it on the backend but still the sidebar is still there and not changing.

    What should I supposed to do?

    #379728

    Hey recumbent!

    Try adding this to your custom CSS.

    .buddypress main {
      border-right: 0 none !important;
      max-width: 100% !important;
      width: 100% !important;
    }
    .buddypress aside {
      display: none !important;
    }

    Best regards,
    Elliott

    #379837

    Hi Elliot,

    Thanks for replying back.

    I don’t want just to remove the sidebar. I want to change it with my own sidebar and I don’t want the default one showing up.

    Thanks,

    #380345

    Hey!

    Open up /enfold/sidebar.php and on line 38 you should see this.

    $custom_sidebar = "";
    

    Add this on the next line.

    if ( bp_is_activity() || bp_is_blogs() || bp_is_messages() || bp_is_friends() || bp_is_groups() ) { $custom_sidebar = "your sidebar name"; }
    

    And replace “your sidebar name” with the name of the sidebar you want to use.

    Best regards,
    Elliott

    #380594

    Hi Elliot,

    Thanks! But when I do that my sidebar gone – http://i.imgur.com/6xmp8OK.png
    Here’s a screenshot of the code: http://i.imgur.com/erpUKMM.png

    Did I do something wrong?

    Thanks for helping. Very much appreciated!

    #381099

    Hi!

    Create a new widget area called “special” and use that.

    $custom_sidebar = "special";
    

    Cheers!
    Elliott

    #381569

    Hi Elliott,

    It now showing the custom sidebar for all of the buddypress pages! Awesome!

    Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘BuddyPress Sidebar’ is closed to new replies.