This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
The styling of CTA buttons in notices is not displaying correctly on legacy themes #9609
Labels
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
After a recent update to the WC core that prevents legacy themes from displaying blocks-based CSS classes, like wp-element-button, to reduce the risk/footprint for existing stores.
The new C&C-inspired notices are only applied to stores that have the Cart and Checkout blocks installed, without checking for an active block theme. This causes a problem with the CTA buttons, which do not appear visually appealing when a merchant has C&C blocks installed in a legacy theme.
I’m thinking of three possible solutions here:
wp-element-button
class.To reproduce
Steps to reproduce the behavior:
Expected behavior
The button should be appearing on the right side of the notice.
Screenshots
The text was updated successfully, but these errors were encountered: