Title: Custom CSS loading delay
Last modified: September 3, 2023

---

# Custom CSS loading delay

 *  Resolved [frisco](https://wordpress.org/support/users/frisco/)
 * (@frisco)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/custom-css-loading-delay/)
 * Hi there…we have a site with MonsterInsights Premium (latest version 8.19.0) 
   installed.
 * With SO CSS 1.5.3, custom CSS loads fine, no matter whether MonsterInsights Premium
   is activated or deactivated.
 * With SO CSS 1.5.8 & MonsterInsights Premium **activated**, the site first loads
   without the custom CSS, so it’s not following those styling rules. Then, after
   a brief delay, the custom CSS loads and the site appears as it should.
 * With SO CSS 1.5.8 & MonsterInsights Premium **deactivated**, everything works
   fine.
 * Can we control the load priority or is this an issue we have to take up with 
   them?

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/custom-css-loading-delay/#post-17022918)
 * Hi Frisco,
 * Thanks for reaching out. In older updates, there was previously a small chance
   for CSS to be output directly on the page rather than using an external CSS file
   and I suspect SiteOrigin CSS was unintentionally doing that. That would explain
   why it’s not working like it previously did.
 * That difference would be intentional by MonsterInsights Premium as they must 
   be setting up scripts to defer until after the page loads. This is a popular 
   performance technique but it can result in display differences like you’re getting.
   I can’t seem to find a method of adjusting this from their documentation so consider
   checking with them as it would be useful for you with other plugins.
 * You can tell SiteOrigin CSS to always output its CSS directly to the page (how
   it used to work for you) by adding some PHP to your website. If you don’t have
   a method of adding PHP, please install [Code Snippets](https://wordpress.org/plugins/code-snippets/).
 *     ```wp-block-code
       add_filter( 'siteorigin_css_enqueue_css', '__return_false' );
       ```
   
 * Click **Save Changes & Activate**.
 * If you do have PHP, please add the above PHP using that method.
 * Kind regards,
   Alex
    -  This reply was modified 2 years, 8 months ago by [alexgso](https://wordpress.org/support/users/alexgso/).
      Reason: Added snippet

Viewing 1 replies (of 1 total)

The topic ‘Custom CSS loading delay’ is closed to new replies.

 * ![](https://ps.w.org/so-css/assets/icon.svg?rev=2556879)
 * [SiteOrigin CSS](https://wordpress.org/plugins/so-css/)
 * [Support Threads](https://wordpress.org/support/plugin/so-css/)
 * [Active Topics](https://wordpress.org/support/plugin/so-css/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/so-css/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/so-css/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [alexgso](https://wordpress.org/support/users/alexgso/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/custom-css-loading-delay/#post-17022918)
 * Status: resolved