Hello Themeco-Team,
Unfortunately, we ran into a font issue.
In plugins\woocommerce\packages\woocommerce-blocks\wc-blocks-style.css there is a class definition that uses the WooCommerce font-family:
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link.added:after {
content: “”;
font-family: WooCommerce;
…
}
The css class is used in the WooCommerce hand-picked product block. On https://efit.eftch.de this creates a rectangle on the button, after clicking the button. We changed the after element in the global css by overwriting the content and font-family:
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link.added:after {
content:“X”;
font-family:inherit;
}
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link.loading:after {
content:"*";
font-family:inherit;
}
Two questions:
- Could this issue somehow be related to Pro CSS conflicting with WooCommerce CSS?
- Is there a Font Awesome solution possible instead of using “X” and “*”?
Thanks for taking a look at it.
Best
Hendrik