[wp-hackers] admin-bar-css

Braydon ronin at braydon.com
Mon Jan 2 00:05:49 UTC 2012


And this one, that doesn't seem to have an id:

<styletype="text/css" media="screen"> html { margin-top: 28px 
!important; } * html body { margin-top: 28px !important; } </style>

On 01/01/2012 03:59 PM, Braydon wrote:
> How do you remove the style admin-bar-css from being added at wp_head() ?
>
> This is not working:
>
> add_action( 'wp_print_styles', 'my_remove_admin_bar_css', 100 );
>
> function my_remove_admin_bar_css(){
>     wp_deregister_style( 'admin-bar-css' );
> }
>
> Or is this featured required for all front-end development?
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> !DSPAM:4f00f370170185939618124!
>


-- 
Braydon Fuller
http://braydon.com/



More information about the wp-hackers mailing list