• Resolved Derek Wilcox

    (@themassapothecary)


    /wp-content/plugins/woocommerce-square/assets/css/frontend/wc-square-cart-checkout-blocks.min.css

    The above CSS script is now loading on every single page of my site since the most recent Square for Woo Plugin update.

    Obviously, I am assuming it is fine to unload this script from all pages but checkout correct? But even checkout, if I don’t use Gutenberg blocks this is pointless correct?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there.

    The CSS as currently written will only apply to an element that would match this CSS rule: .wc-block-checkout__payment-method div#square-credit-card and its child elements.

    If there are none of those elements present on any pages on your site then I can’t see any problem with de-queueing the CSS.

    Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New update has new CSS script loading on every page’ is closed to new replies.