Title: Contact form 7 render blocking CSS WordPress
Last modified: August 31, 2016

---

# Contact form 7 render blocking CSS WordPress

 *  Resolved [matSatler](https://wordpress.org/support/users/matsatler/)
 * (@matsatler)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/)
 * Is there a way to move the “wp-content/plugins/contact-form-7/includes/css/styles.
   css” in the before </body>.
    This will fix the render-blocking.
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-7151427)
 * “wp-content/plugins/contact-form-7/includes/css/styles.css” is loaded before 
   the `</body>`, by default. If it’s not your case, try switching theme to the 
   default one (twentysixteen).
 *  Thread Starter [matSatler](https://wordpress.org/support/users/matsatler/)
 * (@matsatler)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-7151466)
 * I have done that and no change. what i am trying to do is to not have “wp-content/
   plugins/contact-form-7/includes/css/styles.css” in the header but footer.php
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-7151478)
 * You can’t load CSS stylesheets in the footer.
 * > This will fix the render-blocking.
 * Can you be more specific about this, please?
 *  [khanhoff](https://wordpress.org/support/users/khanhoff/)
 * (@khanhoff)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-7151552)
 * You can modify the code of wp-content/plugins/contact-form-7/includes/controller.
   php file.
 * First remove the code of loading styles.css from wpcf7_do_enqueue_scripts function.
   
   And then add following codes.
 *     ```
       add_action( 'wp_footer', 'wpcf7_do_enqueue_style_to_footer');
       function wpcf7_do_enqueue_style_to_footer() {
   
       	if ( wpcf7_load_css() ) {
       		wpcf7_enqueue_styles();
       	}
       }
       ```
   
 * Let me know if it can help you.
 *  Thread Starter [matSatler](https://wordpress.org/support/users/matsatler/)
 * (@matsatler)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-7151557)
 * [@khanhoff](https://wordpress.org/support/users/khanhoff/), This really worked.
   Thank You!
 * [@takayuki](https://wordpress.org/support/users/takayuki/) Miyoshi are we able
   to expect this on the next update as it really remove the issue of rendering 
   CSS
 * Thank you both
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-7151562)
 * So, what’s the issue?
 *  Thread Starter [matSatler](https://wordpress.org/support/users/matsatler/)
 * (@matsatler)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-7151570)
 * without that fix the contact-form-7/includes/css/styles.css is blocking CSS resources.
   Which causes a delay in rendering page.
 * You can see that by using [google speed test tool](https://developers.google.com/speed/pagespeed/insights/)
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-7151577)
 * I think you have the wrong idea. Take a look at the HTML source of your site.
   Where do you find other CSS stylesheets loaded?
 *  [a4jp](https://wordpress.org/support/users/a4jpcom/)
 * (@a4jpcom)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-7151702)
 * Can you remove or move the render blocking script or CSS from this plugin Takayuki?
 * This way we all get better results from SEO checking programs and quicker sites.
 *  [a4jp](https://wordpress.org/support/users/a4jpcom/)
 * (@a4jpcom)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-7151703)
 * I also thought it was normal to enqueue the files so they could be deferred etc.
 *  [beesopwp](https://wordpress.org/support/users/beesopwp/)
 * (@beesopwp)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-8738903)
 * Hi, thanks for the plugin, it’s great but I think the same as the rest, please
   you should update the plugin to avoid the Google block warning. In my configuration
   it is the only plugin that blocks and prevents us from getting a 100/100 It would
   be great to be able to get it without the hook. Thank you.
 *  [a4jp](https://wordpress.org/support/users/a4jpcom/)
 * (@a4jpcom)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-8739999)
 * Is there anyway we can help you update the plugin?

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

The topic ‘Contact form 7 render blocking CSS WordPress’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

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

 * 12 replies
 * 5 participants
 * Last reply from: [a4jp](https://wordpress.org/support/users/a4jpcom/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/contact-form-7-render-blocking-css-wordpress/#post-8739999)
 * Status: resolved