Back to Woocommerce

Class names update in 3.3.0

plugins/woocommerce/client/blocks/docs/designers/theming/class-names-update-330.md

10.9.12.5 KB
Original Source

Class names update in 3.3.0

In WooCommerce Blocks 3.3.0, we introduced express payment methods in the Cart block. In order to make it easy to write styles for express payment methods for the Cart and Checkout blocks separately, we updated several class names:

Replaced classes

RemovedNew class name
wc-block-components-express-checkoutwc-block-components-express-payment (generic)
wc-block-components-express-checkoutwc-block-components-express-payment--checkout (Checkout block)
wc-block-components-express-checkoutwc-block-components-express-payment--cart (Cart block)
wc-block-components-express-checkout__title-containerwc-block-components-express-payment__title-container
wc-block-components-express-checkout__titlewc-block-components-express-payment__title
wc-block-components-express-checkout__contentwc-block-components-express-payment__content
wc-block-components-express-checkout-continue-rulewc-block-components-express-payment-continue-rule (generic)
wc-block-components-express-checkout-continue-rulewc-block-components-express-payment-continue-rule--checkout (Checkout block)
wc-block-components-express-checkout-continue-rulewc-block-components-express-payment-continue-rule--cart (Cart block)
wc-block-components-express-checkout-payment-event-buttonswc-block-components-express-payment__event-buttons
<!-- FEEDBACK -->

We're hiring! Come work with us!

šŸž Found a mistake, or have a suggestion? Leave feedback about this document here.

<!-- /FEEDBACK -->