Title: Bug? &gt; Enqueue in Footer
Last modified: January 18, 2022

---

# Bug? > Enqueue in Footer

 *  Resolved [generosus](https://wordpress.org/support/users/generosus/)
 * (@generosus)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bug-enqueue-in-footer/)
 * Good Day!
 * Your plugin’s feature “Enqueue in Footer” works well under certain conditions.
   Mainly, when the **Position** selected for the banner is **Bottom**.
 * However, when we select **Top** and **Enqueue in Footer**, your plugin’s CSS 
   file shows up as render-blocking. You can confirm this by running a webpagetest.
   org test.
 * To fix our issue, we added the following code to the header of our website:
 * `<link rel="preload" href=" https://www.mywebsite.com/wp-content/plugins/wpfront-
   notification-bar/css/wpfront-notification-bar.min.css" as="style" onload="this.
   onload=null;this.rel='stylesheet'" />`
 * The above fix is considered temporary. Also, the fallout from adding the above
   to our website header is that the file is now loaded on all of our website pages,
   rather than only those that use your banner.
 * Can you kindly look into this and provide a fix at your next convenient plugin
   revision level?
 * Thank you!

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

 *  Plugin Support [Swathi S](https://wordpress.org/support/users/swathiswpfront/)
 * (@swathiswpfront)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bug-enqueue-in-footer/#post-15267711)
 * Hi [@generosus](https://wordpress.org/support/users/generosus/),
 * Can you please try testing using the Twenty Twenty-One theme?
 * Thanks!
 *  Thread Starter [generosus](https://wordpress.org/support/users/generosus/)
 * (@generosus)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bug-enqueue-in-footer/#post-15269786)
 * Hi [@swathiswpfront](https://wordpress.org/support/users/swathiswpfront/),
 * Thank you for your reply.
 * OK, so we did more testing and determined that our issue was caused at our end.
 * Our issue was solved when we removed the following file from “Delayed Scripts”(
   a feature contained in the plugin, Perfmatters):
 * `/wpfront-notification-bar.min.js`
 * Once we removed the above file, the CSS render-blocking issue we had is now fixed.
 * Thank you for your time and a great plugin.
 * Cheers!
 *  Thread Starter [generosus](https://wordpress.org/support/users/generosus/)
 * (@generosus)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bug-enqueue-in-footer/#post-15270205)
 * Hi [@swathiswpfront](https://wordpress.org/support/users/swathiswpfront/),
 * Spoke too soon 🙁
 * After performing the above and clearing our cache (thoroughly), everywhere we
   use your plugin we’re experiencing FOUC. The only way to get rid of it (FOUC)
   and keep the CSS file from render-blocking was to generate the Critical CSS for
   those pages.
 * Have you (can you) take a look at this again?
 * Thank you!
 *  Plugin Support [Swathi S](https://wordpress.org/support/users/swathiswpfront/)
 * (@swathiswpfront)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bug-enqueue-in-footer/#post-15272284)
 * Hi,
 * We can’t fix FOUC from our end.
 * When you get the chance could you please go through the below link:
 * [https://stackoverflow.com/questions/3221561/eliminate-flash-of-unstyled-content](https://stackoverflow.com/questions/3221561/eliminate-flash-of-unstyled-content)
 * I hope this helps!
 * Thanks!
 *  Plugin Support [Swathi S](https://wordpress.org/support/users/swathiswpfront/)
 * (@swathiswpfront)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bug-enqueue-in-footer/#post-15339844)
 * Resolving due to inactivity. If you have any queries please feel free to get 
   in touch with us.
 * Thanks!

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

The topic ‘Bug? > Enqueue in Footer’ is closed to new replies.

 * ![](https://ps.w.org/wpfront-notification-bar/assets/icon.svg?rev=1672432)
 * [WPFront Notification Bar](https://wordpress.org/plugins/wpfront-notification-bar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpfront-notification-bar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpfront-notification-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/wpfront-notification-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpfront-notification-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpfront-notification-bar/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Swathi S](https://wordpress.org/support/users/swathiswpfront/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/bug-enqueue-in-footer/#post-15339844)
 * Status: resolved