Buddypress full-width

Posted in: Newspaper
Post count: 1

Hi, I’m trying to make my buddypress pages full width. I’ve set the “page template settings” to no sidebar, but sidebar still in the right side of my page. I don’t know what to do.

Post count: 35449

Hi,
Please provide some more details about the way you set the buddypress and please provide a link to that page, in this way I will be able to inspect it and provide the right answer.
Thank you for your understanding!

Post count: 144

Have same issue. With BuddyPress you simply just set which page is the community page. When using the page template settings and selecting no sidebar it still shows the default side bar. I also have tried to replace the sidebar with a custom sidebar specifically for BuddyPress and it always shows the default sidebar.

Post count: 11

I got the same issue in other theme after updating the plugin.
Please update ?

Post count: 144

Just to update, we are using a Child Theme with the Standard Pack plugin running latest version of Newspaper theme.

Post count: 35449

Hi,
You can set the buddypress to full width using the option form theme penal -> https://i.imgur.com/ocao6Gf.png and you can set from there the sidebar.
Hope this will help you!

Post count: 144

Thanks, Calin, but that sets the sidebar for ALL pages on the site. We still want the default sidebar on other pages on the site and only want to change the sidebar on just the BuddyPress pages (groups, activity, members). We tried changing the sidebar in the template settings on the actual pages themselves, but it appears BuddyPress is pulling in the default sidebar no matter what we do.

  • This reply was modified 5 years by nearview.
Post count: 35449

Hi unfortunately there is no individual option, only for BuddyPress. Maybe this option will be add in the coming updates.
Thank you for your understanding and sorry for the inconvenience!

Post count: 144

So for all of those that are interested, there is a bug in the Standard Pack plugin on the plugins/td-standard-pack/Newspaper/page.php template.

On line 20 where it says
$td_page = td_util::get_post_meta_array($post->ID, 'td_page');

you should replace that with


if($post->ID === 0){
	$page_id = get_queried_object_id();
	$td_page = td_util::get_post_meta_array($page_id, 'td_page');
} else {
	$td_page = td_util::get_post_meta_array($post->ID, 'td_page');
}

As when you are on a page which has any BuddyPress components on it, the $post variable is not set which means none of the page settings from TD are being used.


@Calin
can you submit his to your developers so we don’t have to modify core code?

Post count: 35449

Hi,
I already note it on our suggestion list for improvements.
Thank you for sharing with us!
Have a nice day!

Viewing 10 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic.