Re: Single activity item display layout and style discrepencies
@apleating thanks for pointing us to the location of the template file. Easy enough to fix for a child theme, though it probably would have been better if the activity permalink page template followed the theme’s default template.
Fix:
1. In your child theme create the following folders members/single/activity/
2. Copy over permalink.php from the default bp theme (/wp-content/plugins/buddypress/bp-themes/bp-default/members/single/activity/permalink.php)
3. Modify the permalink.php code to show the following — replace the asterisk with the appropriate tag:
*?php get_header() ?*
*div id=”content”*
*div class=”padder”*
*div class=”activity no-ajax”*
*?php if ( bp_has_activities( ‘display_comments=threaded&include=’ . bp_current_action() ) ) : ?*
*ul id=”activity-stream” class=”activity-list item-list”*
*?php while ( bp_activities() ) : bp_the_activity(); ?*
*?php locate_template( array( ‘activity/entry.php’ ), true ) ?*
*?php endwhile; ?*
*/ul*
*?php endif; ?*
*/div*
*/div*
*/div*
*?php locate_template( array( ‘sidebar.php’ ), true ) ?*
*?php get_footer() ?*
#####################
In your child’s style.css file add:
body.activity-permalink {
min-width: YOUR-PIXEL-NUMBER !important;
max-width: YOUR-PIXEL-NUMBER !important;
}