-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
Description
When using the Godam theme with rtMedia and the BuddyPress Nouveau template pack, the Nouveau CSS overrides GoDAM players styling. This leads to broken media controls and visual inconsistencies in activity feeds and group pages.
Steps to Reproduce
- Activate Godam theme.
- Ensure BuddyPress Nouveau template pack is active (default in BP 12+).
- Navigate to the Activity Feed or Groups page.
- Upload or play a media file via rtMedia.
- Observe style conflicts.
Expected Behavior
- Media player should load with Godam/rtMedia styles.
- No CSS conflicts from BuddyPress.
Actual Behavior
- Nouveau CSS is aggressively enqueued across pages.
- GoDAM player styles are overridden → controls misaligned/broken.
Temporary Workaround
We can force Legacy template pack globally, which prevents Nouveau styles from loading and restores correct player functionality but there is a risk of rtMedia features breaking due to it.:
function override_bp_template_pack() {
if ( function_exists( 'bp_register_template_stack' ) ) {
if ( function_exists( 'bp_nouveau_theme_compat' ) ) {
remove_action( 'bp_init', 'bp_nouveau_theme_compat', 1 );
}
add_filter( 'bp_get_theme_package_id', function( $package_id ) {
return 'legacy';
}, 999 );
}
}
add_action( 'bp_loaded', 'override_bp_template_pack', 5 );Metadata
Metadata
Assignees
Labels
No labels