Title: Unused Theme CSS Loading
Last modified: November 17, 2021

---

# Unused Theme CSS Loading

 *  Resolved [Carolyn Melo](https://wordpress.org/support/users/nubiesan/)
 * (@nubiesan)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/unused-theme-css-loading/)
 * Hi, I would like to not load the css from themes that I am not using. I click
   on the icon, click on save changes, but the next time I look, the file doesn’t
   show that it should not load.
 * I have also tried moving css to the footer, but the setting doesn’t stay.
 * Am I doing something wrong?
 * Also, is there a way (other than trial and error) to figure out which files can
   be (a) combined and (b) moved to the footer? Should I combine the files before
   moving them to the footer?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funused-theme-css-loading%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/unused-theme-css-loading/#post-15080690)
 * Hi [@nubiesan](https://wordpress.org/support/users/nubiesan/),
 * > I click on the icon, click on save changes, but the next time I look, the file
   > doesn’t show that it should not load.
 * I suppose you meant the following icon?
    [⌊Screenshot from 2021-11-18 16-11-46.png⌉](https://www.screencast.com/t/YIgn9IrVs)
 * If yes, I wasn’t able to replicate any such issue in my test site. Possible to
   share a screenshot of what exactly you notice on your side?
 * > I have also tried moving css to the footer, but the setting doesn’t stay.
   > Am I doing something wrong?
 * Just to be sure, you meant the settings configured in the Asset Optimization 
   page or in the frontend where the page loads?
 * > Also, is there a way (other than trial and error) to figure out which files
   > can be (a) combined and (b) moved to the footer? Should I combine the files
   > before moving them to the footer?
 * I’m afraid, it’ll require a trial and error method as the settings will vary 
   upon from one theme to another. However, in most cases, you can enable “Compress”
   and “Combine” options for almost all files as these settings shouldn’t be causing
   an issue.
 * What you need to particularly check when you enable the optimization settings
   ie “Compress”, “Combine” and “Move to Footer” to prevent breaking the layout 
   of the site. If any of the above options causes the site to break the layout,
   revert that specific option and continue with optimizing the other files as you
   go on.
 * Please do check and advise if I have missed out anything. Looking forward to 
   your response.
 * Best Regards,
    Nithin
 *  Thread Starter [Carolyn Melo](https://wordpress.org/support/users/nubiesan/)
 * (@nubiesan)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/unused-theme-css-loading/#post-15081891)
 * Hi, you do have the correct icon.
    I am trying to prevent the css from a deleted
   plugin (AIOSEO). It finally reloaded, but if I click on publish changes, again
   nothing happens. If it reloads, the changes are lost. So far I have spent about
   10 minutes this morning and nothing was saved.
 * So, I can’t check if this has affected the site at all.
 * I hope this screen shot works
    [https://drive.google.com/file/d/1PeG78TxrtrtgVqhVtlrJVpDhO11dBQXr/view?usp=sharing](https://drive.google.com/file/d/1PeG78TxrtrtgVqhVtlrJVpDhO11dBQXr/view?usp=sharing)
 * I have cleared the cache before trying to do anything with the optimization.
   
   I cleared the browser cache as well.
 * Is there a way to speed things up? thanks
 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/unused-theme-css-loading/#post-15084522)
 * Hi [@nubiesan](https://wordpress.org/support/users/nubiesan/),
 * It seems like the screenshot shared is private, so I couldn’t give it a look.
   I have requested access from incsub.com email, please grant access so that we
   could give a look.
 * > So far I have spent about 10 minutes this morning and nothing was saved.
 * In general, it shouldn’t be taking so much time when publishing or making changes.
   Maybe the server doesn’t have enough memory? That would be one of the reasons.
 * Could you please try enabling debug mode and see whether there are any errors
   picked and see if helps in giving a better idea on what might be slowing on your
   side?
 * To enable it, open your **wp-config.php** file located in your root directory,
   and look for define(‘WP_DEBUG’, false);. Change it to:
 * `define('WP_DEBUG', true);`
 * In order to enable the error logging to a file on the server you need to add:
 *     ```
       define( 'WP_DEBUG_LOG', true );
       define( 'WP_DEBUG_DISPLAY', false );
       @ini_set( 'display_errors', 0 );
       define( 'SCRIPT_DEBUG', true );
       ```
   
 * After making the above changes, you can use Google Drive as done before to share
   the debug.log file.
 * You can find more details about debugging [here](https://wordpress.org/support/article/debugging-in-wordpress/).
 * Please let us know how that goes, have a nice day.
 * Kind Regards,
    Nithin
 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/unused-theme-css-loading/#post-15129231)
 * Hi [@nubiesan](https://wordpress.org/support/users/nubiesan/),
 * Since we haven’t heard from you for a while. I’ll mark this thread as resolved
   for now. Please feel free to re-open the thread if you need further assistance.
 * Best Regards
    Nithin

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

The topic ‘Unused Theme CSS Loading’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/unused-theme-css-loading/#post-15129231)
 * Status: resolved