Allow Custom Styling for Buttons Inside WooCommerce Error Notices #30710
ricardoaraujo330
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe..
In WooCommerce, success and informational notices can be styled easily, including their buttons, when using Elementor. However, the error notice is the only one that doesn't allow button customization via Elementor or theme settings.
This becomes a UI issue when themes automatically inject a call-to-action button into error messages (e.g. “Return to shop”), but the default styling applied to this button is plain grey, which doesn't match the visual language of the rest of the website, especially when everything else has been carefully styled with Elementor.
It breaks visual consistency and detracts from the overall look and feel of the shop pages.
I'm always frustrated when...
A beautifully styled site is impacted by a single grey, unstyled button inside a WooCommerce error notice — it’s a small thing, but it stands out (in the worst way).
Example:

Describe the solution you'd like.
It would be great if Elementor allowed the customization of buttons inside error notices, just like it does for success and informational notices. Ideally, this should follow the same styling controls already available for other notice types.
It would be nice if...
There was a dedicated section or class for error notices with buttons, or a more flexible selector for targeting and styling that button via Elementor’s interface.
Describe alternatives you've considered.
It can also be solved by...
Allowing global or contextual style control over all types of WooCommerce notices, including their internal elements such as links and buttons — ideally in a unified way within Elementor’s WooCommerce widgets or Theme Builder.
Additional context
Here’s an example of the issue:
Before/after screenshots or screencasts can be added here if available
Thanks for considering this detail — it's minor, but polishing these small areas goes a long way in delivering a premium user experience.
Agreement
All reactions