Title: Render blocking CSS
Last modified: June 18, 2018

---

# Render blocking CSS

 *  Resolved [mekeca](https://wordpress.org/support/users/mekeca/)
 * (@mekeca)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/render-blocking-css-7/)
 * How i can put the CSS of this plugin in the footer ?

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

 *  [Ambyomoron](https://wordpress.org/support/users/josiah-s-carberry/)
 * (@josiah-s-carberry)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/render-blocking-css-7/#post-10413306)
 * You might take a look at the issues regarding css in the footer here: [https://wordpress.stackexchange.com/questions/162150/can-i-add-styles-to-footer-with-wp-styles-add-data](https://wordpress.stackexchange.com/questions/162150/can-i-add-styles-to-footer-with-wp-styles-add-data)
 * and here:
    [https://wordpress.stackexchange.com/questions/186065/how-to-load-css-in-the-footer](https://wordpress.stackexchange.com/questions/186065/how-to-load-css-in-the-footer)
 * The whole purpose of css is to render the page as you wish it to appear. To call
   the loading of css “render blocking” is like displaying a painting as a jumble
   of components that gradually sort themselves out into the right places. Is that
   what you really want?
 *  Thread Starter [mekeca](https://wordpress.org/support/users/mekeca/)
 * (@mekeca)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/render-blocking-css-7/#post-10413516)
 * Google detects the plugin CSS as render blocking, in order to get better SEO 
   I must place the css in the footer. It doesn’t affect the appearence of the website
   since i have loading. Nmv i edited the cookie-notice.php and on lane 2195 added
   a function around the wp_enqueue_style.
 *     ```
       function add_cookie_style_to_footer() {
           wp_enqueue_style( 'cookie-notice-front', plugins_url( 'css/front' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.css', __FILE__ ) );
       };
       add_action( 'wp_footer', 'add_cookie_style_to_footer' );
       ```
   
 * That solved my problem, thanks for your time.

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

The topic ‘Render blocking CSS’ is closed to new replies.

 * ![](https://ps.w.org/cookie-notice/assets/icon-256x256.png?rev=3549327)
 * [Compliance by Hu-manity.co](https://wordpress.org/plugins/cookie-notice/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-notice/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-notice/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-notice/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-notice/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-notice/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mekeca](https://wordpress.org/support/users/mekeca/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/render-blocking-css-7/#post-10413516)
 * Status: resolved