Title: Issues with Custom CSS
Last modified: April 9, 2018

---

# Issues with Custom CSS

 *  Resolved [girlgold](https://wordpress.org/support/users/girlgold/)
 * (@girlgold)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/issues-with-custom-css/)
 * Hi,
 * The custom CSS that I enter with this plugin doesn’t take effect. I’ve checked
   my syntax and tried applying it to different elements and it doesn’t seem to 
   stick. For instance, I’m trying:
 *     ```
       input#wp-submit.button.button-primary.button-large {
           background: #383A39!important;
           border-color: none!important;
           box-shadow: none!important;
           color: #fff!important;
           text-decoration: none!important;
           text-shadow: none!important;
       }
   
       .login h1 a{
       background-size: 150px;
       height:150px;
       width:150px;
       }
       ```
   
 * There are no changes to the login page.
 * I’ve tried including both !important and removing !important. I’m not sure whether
   or not there is a linking issue with the custom stylesheet.
 * Changing the logo works!
 * Thanks for your help with this.
 * Leanne

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

 *  Plugin Author [larsactionhero](https://wordpress.org/support/users/larsactionhero/)
 * (@larsactionhero)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/issues-with-custom-css/#post-10268892)
 * Hi,
 * sorry for the late response.
    Your css is correct, but can’t take effect, because
   the _custom css_ field is meant to be used with styles regarding the logo styling(
   and ONLY this one 😉 ), not for adding whole class definitions.
 * The text in the custom css field is written into an inline style:
 *     ```
       body.login div#login h1 a {
           <strong>[CODE FROM PLUGIN IS PLACED HERE]</strong>
       }
       ```
   
 * Maybe i’ll release an update with the possibility to add whole css classes in
   the settings field. 😉
    -  This reply was modified 8 years, 1 month ago by [larsactionhero](https://wordpress.org/support/users/larsactionhero/).
    -  This reply was modified 8 years, 1 month ago by [larsactionhero](https://wordpress.org/support/users/larsactionhero/).
    -  This reply was modified 8 years, 1 month ago by [larsactionhero](https://wordpress.org/support/users/larsactionhero/).
 *  Plugin Author [larsactionhero](https://wordpress.org/support/users/larsactionhero/)
 * (@larsactionhero)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/issues-with-custom-css/#post-10268919)
 * Btw, at least there is a (ugly) hack to reach your goal:
 *     ```
       background-size: 150px;
       height:150px;
       width:150px;
       } 
       input#wp-submit.button.button-primary.button-large {
           background: #383A39!important;
           border-color: none!important;
           box-shadow: none!important;
           color: #fff!important;
           text-decoration: none!important;
           text-shadow: none!important;
       ```
   
 * Which will result to the following code (the bold text ist what you need to place
   in css settings field):
 * body.login div#login h1 a {
 *  **background-size: 150px;
    height:150px; width:150px; } input#wp-submit.button.
   button-primary.button-large { background: #383A39; border-color: none; box-shadow:
   none; color: #fff; text-decoration: none; text-shadow: none;
 * }
    -  This reply was modified 8 years, 1 month ago by [larsactionhero](https://wordpress.org/support/users/larsactionhero/).
    -  This reply was modified 8 years, 1 month ago by [larsactionhero](https://wordpress.org/support/users/larsactionhero/).
    -  This reply was modified 8 years, 1 month ago by [larsactionhero](https://wordpress.org/support/users/larsactionhero/).

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

The topic ‘Issues with Custom CSS’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-custom-login-page-logo_e1c5b3.
   svg)
 * [WP Custom Admin Login Page Logo](https://wordpress.org/plugins/wp-custom-login-page-logo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-custom-login-page-logo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-custom-login-page-logo/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-custom-login-page-logo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-custom-login-page-logo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-custom-login-page-logo/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [larsactionhero](https://wordpress.org/support/users/larsactionhero/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/issues-with-custom-css/#post-10268919)
 * Status: resolved