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?
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
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,
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
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!
Hi!
Create a new widget area called “special” and use that.
$custom_sidebar = "special";
Cheers!
Elliott
Hi Elliott,
It now showing the custom sidebar for all of the buddypress pages! Awesome!
Thanks!