Skip to content

Issue: GoDAM Integration Compatibility with Nouveau Theme #2169

@krishana7911

Description

@krishana7911

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

  1. Activate Godam theme.
  2. Ensure BuddyPress Nouveau template pack is active (default in BP 12+).
  3. Navigate to the Activity Feed or Groups page.
  4. Upload or play a media file via rtMedia.
  5. 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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions