Title: empty css file
Last modified: March 16, 2021

---

# empty css file

 *  Resolved [西門 正 Code Guy](https://wordpress.org/support/users/simongcc/)
 * (@simongcc)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/empty-css-file/)
 * Hello! Support
 * I found that there is empty CSS generated for pages, probably due to empty style.
   
   Is it possible to check if CSS file have content before loading like file_get_contents
   or some early bytes of the file?
 * Many thanks.

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

 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/empty-css-file/#post-14194719)
 * Hey [@simongcc](https://wordpress.org/support/users/simongcc/),
 * Thank you for the feedback. We will look into it and make sure the CSS doesn’t
   load if they are empty. Thank you for reporting the issue. 🙂
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/empty-css-file/#post-14271446)
 * This should be fixed in the latest version. Hope it helps!

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

The topic ‘empty css file’ is closed to new replies.

 * ![](https://ps.w.org/otter-blocks/assets/icon-256x256.gif?rev=3452114)
 * [Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE](https://wordpress.org/plugins/otter-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/otter-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/otter-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/otter-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/otter-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/otter-blocks/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/empty-css-file/#post-14271446)
 * Status: resolved