Fix - WooCommerce notice border ignores the primary colour - #85
Open
rajatgautam755421 wants to merge 2 commits into
Open
rajatgautam755421 wants to merge 2 commits into
rajatgautam755421 wants to merge 2 commits into
Conversation
A stray comma before `.woocommerce .woocommerce-message` made the browser drop the whole rule, so the notice border stayed WooCommerce green. Found while fixing themegrill/accelerate-pro#24 and #68. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
QA suite — refused, no regression specThis PR changes product source but adds no spec, so the suite was Source files changed with no matching spec |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The one-character CSS fix is focused and has no unresolved issues.
Review effort: Lite
Findings: None
What changed in this PR
Fixes malformed WooCommerce CSS so notice borders use the configured primary colour.
Changes:
- Removes the stray comma invalidating the border rule.
- Preserves existing button, sale badge, and price styling.
| File | Description |
|---|---|
inc/functions.php |
Corrects generated WooCommerce notice CSS syntax. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…r rule Previews a non-default primary colour and checks the browser actually parsed the .woocommerce .woocommerce-message rule. Fails without the fix (the stray comma made the browser drop it). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Author
|
@claudegrill suite |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found while fixing themegrill/accelerate-pro#24 / #68 (reported by @iamprazol and @subin-shk).
A stray comma before
.woocommerce .woocommerce-messagein the primary-colour CSS made the browser drop the rule, so the add-to-cart notice border stayed WooCommerce green. One-character fix.#e91e63)Regression: buttons, sale badge and prices unchanged (already followed the primary colour).
Changelog: Fix - WooCommerce notice border now uses the primary colour.
🤖 Generated with Claude Code