Skip to content

Fix - WooCommerce notice border ignores the primary colour - #85

Open
rajatgautam755421 wants to merge 2 commits into
developfrom
fix/woocommerce-notice-border-primary-color
Open

rajatgautam755421 wants to merge 2 commits into
developfrom
fix/woocommerce-notice-border-primary-color

Conversation

@rajatgautam755421

Copy link
Copy Markdown

Found while fixing themegrill/accelerate-pro#24 / #68 (reported by @iamprazol and @subin-shk).

A stray comma before .woocommerce .woocommerce-message in the primary-colour CSS made the browser drop the rule, so the add-to-cart notice border stayed WooCommerce green. One-character fix.

Before (primary #e91e63) After
before after

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

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>
@rajatgautam755421 rajatgautam755421 self-assigned this Oct 1, 2026
@tg-autopilot
tg-autopilot requested a lite review from Copilot October 1, 2026 03:09
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

QA suite — refused, no regression spec

This PR changes product source but adds no spec, so the suite was
refused before booting WordPress — running it just to report the same
thing at the end costs runner minutes for nothing. Run
/claudegrill:verify-fix locally and let write-spec add the guard
to this branch, then push again.

Source files changed with no matching spec
inc/functions.php

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@rajatgautam755421

Copy link
Copy Markdown
Author

@claudegrill suite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants