Title: Custom css doesn&#8217;t work in WordPress 4.7
Last modified: December 8, 2016

---

# Custom css doesn’t work in WordPress 4.7

 *  [mrnew](https://wordpress.org/support/users/mrnew/)
 * (@mrnew)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/custom-css-doesnt-work-in-wordpress-4-7/)
 * I’m using Jetpack 4.4.2. When I update to WordPress 4.7, none of my custom css
   takes effect. I can still see it in the editing window, but it has no impact 
   on the layout. When I go back to WordPress 4.6, it still works. Anyone have thoughts
   on why this might be?

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

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [9 years, 8 months ago](https://wordpress.org/support/topic/custom-css-doesnt-work-in-wordpress-4-7/#post-8531731)
 * Could you post your site URL here, so I can have a look?
 * If you want it to remain private, you can also contact us via this contact form:
   
   [http://jetpack.com/contact-support/](http://jetpack.com/contact-support/)
 *  Thread Starter [mrnew](https://wordpress.org/support/users/mrnew/)
 * (@mrnew)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/custom-css-doesnt-work-in-wordpress-4-7/#post-8532132)
 * Here’s the link: [http://collinwoodfire.org/](http://collinwoodfire.org/)
 * I’ve moved it back to the earlier WordPress, because it needs to be running for
   some teachers. It’s a big site and the CSS is also very large. That’s probably
   the most unusual thing about it, but it has been working. I don’t know if size
   could impact the update. I’m going to give the update another shot over the weekend.
   Maybe I could just paste the present CSS into the new editor? Or maybe if I delete
   some of the many revisions that have accumulated it would work better?
 * Thanks very much for taking a look.
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [9 years, 8 months ago](https://wordpress.org/support/topic/custom-css-doesnt-work-in-wordpress-4-7/#post-8535385)
 * Thanks for the extra details!
 * The size of your CSS file shouldn’t be an issue, but if your server resources
   are limited you could be running into memory issues when we try to migrate the
   CSS from the old Jetpack editor to the new core WordPress editor.
 * Would you mind trying the following?
    1.  Add the following to your site’s wp-config.php file?
    2.      ```
            define( 'WP_DEBUG', true );
        
            if ( WP_DEBUG ) {
        
                    @error_reporting( E_ALL );
                    @ini_set( 'log_errors', true );
                    @ini_set( 'log_errors_max_len', '0' );
        
                    define( 'WP_DEBUG_LOG', true );
                    define( 'WP_DEBUG_DISPLAY', false );
                    define( 'CONCATENATE_SCRIPTS', false );
                    define( 'SAVEQUERIES', true );
        
            }
            ```
        
    3.  Your `wp-config.php` file may already include a line that says “define(‘WP_DEBUG’,
        false);”. You can remove it, and replace it by the code above.
    4.  Go to Appearance > Edit CSS and copy your CSS. Paste it in a text editor so
        you’ll have a copy if anything goes wrong.
    5.  Update to WordPress 4.7.
    6.  Go to Appearance > Customize > Additional CSS, and check if the CSS was migrated.
    7.  If it wasn’t, paste the CSS you saved earlier.
    8.  Click on Save and Publish.
    9.  Check that all CSS was saved, and none was stripped from the editor.
    10. Check the `wp-content/debug.log` file in your WordPress installation, and paste
        any errors you may have here.
    11. You can then replace `define('WP_DEBUG', true);` by `define('WP_DEBUG', false);`
        in the code above.
 * Thanks!

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

The topic ‘Custom css doesn’t work in WordPress 4.7’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [wordpress 4.7](https://wordpress.org/support/topic-tag/wordpress-4-7/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/custom-css-doesnt-work-in-wordpress-4-7/#post-8535385)
 * Status: not resolved