Title: Remove &quot;admin-bar.css&quot; completely
Last modified: August 22, 2016

---

# Remove "admin-bar.css" completely

 *  [RaphaelJeger](https://wordpress.org/support/users/raphaeljeger/)
 * (@raphaeljeger)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/remove-admin-barcss-completely/)
 * Hi
 * I am developing a WP/BP-site where every visitor & users sees the admin-bar. 
   Could someone tell me how to completely remove the default-styling of the adminbar?
   I want to style it myself and don’t want to fight against an existing CSS.
 * I’ve added `add_theme_support( 'admin-bar', array( 'callback' => '__return_false'));`
   to my themes functions.php but that did not change a thing.
 * Thanks!
    Raphael

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [RaphaelJeger](https://wordpress.org/support/users/raphaeljeger/)
 * (@raphaeljeger)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/remove-admin-barcss-completely/#post-5926006)
 * Anyone? Pleeeeeeaaasseee?
 *  Thread Starter [RaphaelJeger](https://wordpress.org/support/users/raphaeljeger/)
 * (@raphaeljeger)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/remove-admin-barcss-completely/#post-5926009)
 * wp_dequeue_style( ‘admin-bar’ ); does not work
 * **edit & solution**
 * but this does:
 *     ```
       add_action( 'wp_default_styles' , 'remove_admin_bar' );
       function remove_admin_bar( $wp_styles ) {
           $wp_styles->remove('admin-bar');
       }
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove "admin-bar.css" completely’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [remove css](https://wordpress.org/support/topic-tag/remove-css/)

 * 2 replies
 * 1 participant
 * Last reply from: [RaphaelJeger](https://wordpress.org/support/users/raphaeljeger/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/remove-admin-barcss-completely/#post-5926009)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
