Title: block css
Last modified: August 19, 2016

---

# block css

 *  [Vast HTML](https://wordpress.org/support/users/erichamby/)
 * (@erichamby)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/)
 * i want to modify the login.php. how can i block the color-freash.css and login.
   css from being entered into the header info?

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

 *  Thread Starter [Vast HTML](https://wordpress.org/support/users/erichamby/)
 * (@erichamby)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171499)
 * ?
 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171502)
 * See: [http://codex.wordpress.org/Creating_Admin_Themes](http://codex.wordpress.org/Creating_Admin_Themes)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171535)
 * If you just want to re-style the login, have a look at the BM Custom Login plugin.
 *  Thread Starter [Vast HTML](https://wordpress.org/support/users/erichamby/)
 * (@erichamby)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171560)
 * @ esmi i have my own project i got to do, i cant use a plugin.
 * [@iridiax](https://wordpress.org/support/users/iridiax/) that does not show me
   how to block the original css.
 *  Thread Starter [Vast HTML](https://wordpress.org/support/users/erichamby/)
 * (@erichamby)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171609)
 * I know this is possible please someone help me 🙁
 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171611)
 * What are you trying to do and why do you need to block these files instead of
   just restyling them?
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171613)
 * You don’t need to block it, you can over-ride the CSS with your own..
 * In the theme functions.php:
 *     ```
       function custom_login_css() {
       	echo '
       	<link rel="stylesheet" type="text/css" href="' . get_bloginfo('template_directory') . '/login.css" />
       	';
       }
       add_action('login_head', 'custom_login_css');
       ```
   
 * Then when adding your own CSS to that file, just add `!important` onto the end
   of definitions that won’t stick…
 * Works for me… 😉
 * You can of course change the path, stylesheet and function name as you see fit.
 *  Thread Starter [Vast HTML](https://wordpress.org/support/users/erichamby/)
 * (@erichamby)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171618)
 * I need a way to block the css though not just override it. I know that i can 
   override it with my own css but there is a few manipulations i want to make that
   i need to make that it would be easier to just block and not override. I have
   seen this done before so i know there is a way.
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171619)
 * I spent hours looking for a way once before, i’d appreciate seeing the method
   if you find it again…
 * Other then whats been mentioned already of course.. 😉
 *  Thread Starter [Vast HTML](https://wordpress.org/support/users/erichamby/)
 * (@erichamby)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171626)
 * haha if i find it ill post. still looking.
 *  Thread Starter [Vast HTML](https://wordpress.org/support/users/erichamby/)
 * (@erichamby)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171628)
 * I found out how to block the css like i was looking for, made a plugin from it,
   which is what i was doing in the first place 🙂 [http://wordpress.org/extend/plugins/login-xchange/](http://wordpress.org/extend/plugins/login-xchange/)
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171629)
 * Nice find.. (i did actually have a search again yesterday, and still missed it).
 * Thanks for taking the time to post back… 😉

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

The topic ‘block css’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 4 participants
 * Last reply from: [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/block-css/#post-1171629)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
