Title: WP Rocket Delay JavaScript Execution Issue
Last modified: January 12, 2023

---

# WP Rocket Delay JavaScript Execution Issue

 *  Resolved [twowithink](https://wordpress.org/support/users/twowithink/)
 * (@twowithink)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/)
 * Home page hero background image has a major shift/blink until first interaction
   when WP Rocket Delay JavaScript Execution is enabled: [https://beta.speechworks.net/](https://beta.speechworks.net/)
 * I have tried exhaustively to figure out what JS files to exclude in order to 
   remedy the behavior to no avail and take advantage of at least some of the Delay
   JavaScript Execution benefits in Google Speed Tests.
 * We are using ThemeTrust Create Theme and SiteOrigin Page Builder.
 * Thank you in advance for your assistance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp-rocket-delay-javascript-execution-issue%2Fpage%2F2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 16 through 21 (of 21 total)

[←](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/?output_format=md)
[1](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/?output_format=md)
2

 *  Thread Starter [twowithink](https://wordpress.org/support/users/twowithink/)
 * (@twowithink)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/page/2/#post-16378074)
 * Hi Alex,
 * Thank you for the revised attempt, but still no change. See screenshot: [https://beta.speechworks.net/wp-content/uploads/2023/01/screenshot.jpg](https://beta.speechworks.net/wp-content/uploads/2023/01/screenshot.jpg)
 * I appreciate your efforts in helping resolve this issue. Thanks.
 *  Thread Starter [twowithink](https://wordpress.org/support/users/twowithink/)
 * (@twowithink)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/page/2/#post-16379173)
 * Hi Alex,
 * UPDATE: I took a closer look after adding your codes and saw that if we also 
   include the .entry-content to the new CSS, it works!!!
 * .siteorigin-panels.siteorigin-panels-css-container .body-wrap, .siteorigin-panels.
   siteorigin-panels-css-container .body-wrap .entry-content {
   max-width: none !
   important;}
 * Thank your team for the exceptional help and I’ll consider this ticket closed.
 * Best!
 *  Thread Starter [twowithink](https://wordpress.org/support/users/twowithink/)
 * (@twowithink)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/page/2/#post-16379365)
 * One last thing… While the code you provided works, it turns the Create Theme’s“
   Default” Template option into full-width stretched rows even if SiteOrigin is
   set to “Standard”. I edited the CSS to add “.page-template” to address this, 
   unless you have a more eloquent way of making it happen:
 * .page-template.siteorigin-panels.siteorigin-panels-css-container .body-wrap, .
   page-template.siteorigin-panels.siteorigin-panels-css-container .body-wrap .entry-
   content {
   max-width: none !important;}
 * Thank you.
 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/page/2/#post-16381444)
 * Hi,
 * It’s great to hear you were able to get it working. 🙂
   Due to how Create handles
   the theme container a rather complicated override is required for it to work 
   as desired so the CSS in your last reply is effectively the best way of doing
   this.
 * Kind regards,
   Alex
 *  Thread Starter [twowithink](https://wordpress.org/support/users/twowithink/)
 * (@twowithink)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/page/2/#post-16382341)
 * Great. Thank you again for the FANTASTIC support!
 *  Plugin Support [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * (@misplon)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/page/2/#post-16382569)
 * Thanks for your kind feedback and support; it’s most appreciated. I’m glad we
   were able to assist. Please, let us know if any queries or requests moving forward.
 * Cheers for now 🙂

Viewing 6 replies - 16 through 21 (of 21 total)

[←](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/?output_format=md)
[1](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/?output_format=md)
2

The topic ‘WP Rocket Delay JavaScript Execution Issue’ is closed to new replies.

 * ![](https://ps.w.org/siteorigin-panels/assets/icon.svg?rev=2556869)
 * [Page Builder by SiteOrigin](https://wordpress.org/plugins/siteorigin-panels/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/siteorigin-panels/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/siteorigin-panels/)
 * [Active Topics](https://wordpress.org/support/plugin/siteorigin-panels/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/siteorigin-panels/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/siteorigin-panels/reviews/)

 * 21 replies
 * 3 participants
 * Last reply from: [Andrew Misplon](https://wordpress.org/support/users/misplon/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/wp-rocket-delay-javascript-execution-issue/page/2/#post-16382569)
 * Status: resolved