Hey! I’m using a third-party plugin that woocommerce.com sells to create a one-page checkout experience for a particular product. All good there. However, I notice that while the webpage is indeed loading Pro’s WooCommerce CSS file…
<link rel="stylesheet" id="x-woocommerce-css" href="http://texga.deeproots.marketing/wp-content/themes/pro/framework/dist/css/site/woocommerce/integrity-light.css?ver=2.3.8" type="text/css" media="all">
…that none of the CSS from that file is impacting the page, including the fact that ::before and ::after pseudo elements aren’t being added to the WooCommerce form. After doing a quick Google search, I came upon a StackOverflow question asking if it’s okay to add an ID to a link tag, specifically so they could dynamically disable (via JavaScript) the CSS from loading, which got me wondering if you guys happen to be doing that very thing in order to make webpages more performant that aren’t typical WooCommerce pages.
Could you guys point me in the right direction of the code that’s doing that? Or perhaps provide a snippet I could add to my page’s JS in the Pro builder so that one page can load the CSS?
Thanks!