Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: What is the correct way to alter the admin-bar.css


carpconnect
Participant

@carpconnect

This is still not working for me?

I have left the standard admin-bar.css in place.

in bp-custom.php i have

/* Admin Bar CSS */

function my_admin_bar_css() {

echo ‘<link href=”<?php bloginfo(‘template_url’); ?>/css/admin_bar.css” rel=”stylesheet” type=”text/css” media=”screen,projection” />’;

}

remove_action(‘wp_head’, ‘bp_core_admin_bar_css’, 1);

add_action(‘wp_head’, ‘my_admin_bar_css’, 1);

I have place my edited version of admin-bar.css into

wp-content/bp-themes/mytheme_member/css/admin-bar.css

this does not have any effect?

All am doing is changing the menu colours.

cheers

I

Skip to toolbar