BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Buddypress.css included twice

Viewing 2 posts - 1 through 2 (of 2 total)
  • Question

    #55541
    @acroyes

    I noticed buddypress.css is included twice in BuddyBoss 4.2.4 causing two separate http requests.

    <link rel='stylesheet' id='buddyboss-bp-frontend-css'  href='http://buddypress.dev/wp-content/themes/buddyboss/css/buddypress.css?ver=4.2.3' type='text/css' media='all' />
    <link rel='stylesheet' id='bp-parent-css-css'  href='http://buddypress.dev/wp-content/themes/buddyboss/css/buddypress.css?ver=2.4.3' type='text/css' media='screen' />

    I removed the second one with this:

    /* fix buddypress.css included twice */
    function bws_dequeue_bp_styles() {
      wp_dequeue_style( 'bp-parent-css' );
    }
    add_action( 'wp_enqueue_scripts', 'bws_dequeue_bp_styles', 20 );

    Please fix.

    Answers

    #55552

    Anonymous
    @

    Hi @acroyes, We have notices it and it will fixed in current development version
    Thanks for your feedback.
    Regards
    Varun Dubey

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘Buddypress.css included twice’ is closed to new replies.