Hello.
Looking for some help tracking down a possible scripts enqueue.
On all of our Pro and X sites, there are 4 Gravity Form stylesheets that are loaded on every page, regardless of if there is a Gravity Form on the page or not.
.../wp-content/plugins/gravityforms/css/formreset.min.css .../wp-content/plugins/gravityforms/css/formsmain.min.css .../wp-content/plugins/gravityforms/css/readyclass.min.css .../wp-content/plugins/gravityforms/css/browsers.min.css
There is one additional (stack dependent) stylesheet from Pro.
.../wp-content/themes/pro/framework/dist/css/site/gravity_forms/integrity-light.css
or
.../wp-content/themes/pro/framework/dist/css/site/gravity_forms/renew.css
I spoke with GF support and them mentioned the possibility that gravity_form_enqueue_scripts()
might be firing inadvertently.
Can you comment about this? We’re trying to reduce overhead on page load and, since these 5 stylesheets are not used on pages without a Gravity Form on them, we’d like to not load them.
Thankyou