Skip to:
Content

BuddyPress.org

Ticket #773: 760.diff

File 760.diff, 1.8 KB (added by coto, 15 years ago)
  • bp-core/bp-core-adminbar.php

     
    2626function bp_adminbar_logo() {
    2727        global $bp;
    2828       
    29         echo '<a href="' . $bp->root_domain . '"><img id="admin-bar-logo" src="' . apply_filters( 'bp_admin_bar_logo_src', BP_PLUGIN_URL . '/bp-core/images/admin_bar_logo.gif' ) . '" alt="' . apply_filters( 'bp_admin_bar_logo_alt_text', __( 'BuddyPress', 'buddypress' ) ) . '" /></a>';
     29        echo '<a href="' . $bp->root_domain . '" class="admin-bar-lk-logo"><img id="admin-bar-logo" src="' . apply_filters( 'bp_admin_bar_logo_src', BP_PLUGIN_URL . '/bp-core/images/admin_bar_logo.gif' ) . '" alt="' . apply_filters( 'bp_admin_bar_logo_alt_text', __( 'BuddyPress', 'buddypress' ) ) . '" /></a>';
    3030}
    3131
    3232// **** "Log In" and "Sign Up" links (Visible when not logged in) ********
     
    278278add_action( 'wp_footer', 'bp_core_admin_bar', 8 );
    279279add_action( 'admin_footer', 'bp_core_admin_bar' );
    280280
    281 ?>
    282  No newline at end of file
     281?>
  • bp-core/css/admin-bar.css

     
    1616
    1717#wp-admin-bar * { z-index: 999 !important; }
    1818
    19 #wp-admin-bar img#admin-bar-logo {
     19#wp-admin-bar a.admin-bar-lk-logo {
    2020        position: absolute !important;
    2121        top: 8px;
    2222        left: 10px;
     
    6363
    6464#wp-admin-bar ul {
    6565        margin-left: 80px !important;
     66
    6667}
    6768
    6869#wp-admin-bar ul li { /* all list items */
     
    231232        -khtml-border-radius: 2px !important;
    232233        -webkit-border-radius: 2px !important;
    233234        margin-left: 2px !important;
    234 }
    235  No newline at end of file
     235}