Skip to:
Content

BuddyPress.org

Ticket #8761: 8671.patch

File 8671.patch, 688 bytes (added by imath, 2 years ago)
  • src/bp-templates/bp-nouveau/includes/functions.php

    diff --git src/bp-templates/bp-nouveau/includes/functions.php src/bp-templates/bp-nouveau/includes/functions.php
    index 5254a31c8..43eae8e20 100644
    function bp_nouveau_theme_cover_image( $params = array() ) { 
    763763        $top_offset  = bp_core_avatar_full_height() - 10;
    764764        $left_offset = bp_core_avatar_full_width() + 20;
    765765
     766        if ( ! bp_is_active( 'activity' ) || ! bp_activity_do_mentions() ) {
     767                $top_offset -= 40;
     768        }
     769
    766770        $cover_image = isset( $params['cover_image'] ) ? 'background-image: url( ' . $params['cover_image'] . ' );' : '';
    767771        $hide_avatar_style = '';
    768772