Generic link hover color overrides My Account header component color
メンテナーはふだん 1 日以内に返信
@HardeepAsrani がすでに取り組んでいます。
2026年9月30日 から。
評価
この issue はまだ評価されていません。
説明
Summary
The My Account header component does not retain its configured hover color after the recent Neve update. The component is expected to use its --hovercolor value while hovered, but the inspected CSS cascade applies Neve's secondary accent instead. This prevents the Header Booster color control from determining the visible hover state and has led to a child-theme !important workaround.
Customer context
Product / area: Neve with Neve Pro Header Booster, My Account header component
Version: Exact installed versions were not provided; the relevant Neve change first shipped in 4.2.13 and remains in 4.2.14
Environment: WordPress frontend with a child theme
Integration / third party: Neve Pro Addon
Reported error / symptom: My Account hover color resolves to the Neve secondary accent rather than the component hover color
Impact: Configured component styling is not reflected without a CSS specificity workaround
Reproduction notes
- Use Neve 4.2.13 or 4.2.14 with Neve Pro Header Booster enabled.
- Add the My Account component to a header and configure a hover color distinct from Neve's secondary accent.
- Hover the
.my-account-wrapperlink or focus it with the keyboard. - Observe that the computed color comes from the generic Neve link-state rule rather than the component's configured hover value.
The customer supplied the conflicting selectors and reported that an !important child-theme override restores the desired state. A clean local runtime reproduction was not performed.
Diagnosis
Conclusion
This is a confirmed CSS-specificity regression. Neve 4.2.13 changed the generic hover/focus color selector from a:hover / a:focus to a:not([class*="button"]):hover / :focus. The resulting selector has greater specificity than .my-account-wrapper:hover, so the global secondary-accent color wins even though the component defines its own hover color. Commit 17a3c2e0da2446dd162acc4459ada710bbb91ed2 introduced the selector; tag comparison shows the old behavior in 4.2.12 and the conflicting behavior in 4.2.13. No later typography change exists through 4.2.14.
Where this likely occurs
- User-visible surface: Neve Pro Header Booster's My Account component on hover and focus.
assets/scss/components/main/_typography.scss— global anchor state rules, approx. lines 52–60, selectora:not([class*="button"]): assigns--nv-secondary-accentwith specificity above the component rule.- Neve Pro companion
includes/modules/header_footer_grid/assets/scss/new/_my-account.scss— My Account state styling, lines 1–15, selector.my-account-wrapper:hover: assigns the configured--hovercolorbut loses the cascade. - Neve Pro companion
includes/modules/header_footer_grid/assets/scss/style.scss— header asset aggregation, lines 1–9, imports the My Account stylesheet into the bundle documented as included by Blog Pro. - Git history: commit
17a3c2e0dis contained in release tags 4.2.13 and 4.2.14; release 4.2.12 retains the lower-specificity generic anchor selector.
Engineering notes
The affected anchor has the class my-account-wrapper, which does not contain button, so it is inside the new global selector's scope. The inspected conflict is deterministic from the emitted selectors: the global rule has specificity (0,2,1), while the component hover rule has (0,2,0). The Pro component uses currentColor for its SVG, so the visible icon follows the overridden anchor color. This entry is routed to Neve because the regression-producing selector and release change are in the theme; the intended component state is defined in the Pro companion.
Test coverage status
The Pro suites e2e-tests/specs/a11y/my-account.spec.ts and e2e-tests/specs/woobooster/header-component.spec.ts exercise My Account markup, accessibility, icon sizing, and dropdown behavior. Neither suite checks computed hover or focus color. No relevant color-state coverage was found during inspection.
What to verify or explore next
- Reproduce with Neve 4.2.14 and Neve Pro 3.2.12 by assigning distinct secondary-accent and My Account hover colors, then inspect computed color during hover and keyboard focus.
- Compare the same setup under Neve 4.2.12 and 4.2.13 to validate the identified release boundary at runtime.
- Run the Header Booster and accessibility Playwright suites after exercising the computed hover/focus color path.
Unknowns / follow-up
The customer's exact Neve and Neve Pro versions were not stated. Runtime reproduction was not performed, but the reported selectors and deterministic cascade match the inspected released source.
Confidence
Confidence: 98/100
Repository inspection confirms that Neve 4.2.13 increased the generic link-state selector's specificity above both affected header-component selectors, and the regression remains in 4.2.14. No matching open GitHub issue was found for either independently testable symptom.
Source: HelpScout #3466631245
Generated by bug-report-triage (ID: bug-report-triage_6abbeeb198c984.22566267)
- 主要言語
- PHP
- スター
- 307
- フォーク
- 89
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 23
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Codeinwp/neve のほかの issue
-
bug-report bug-report-triage crash-report
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
Duplicate H1: hidden screen-reader title H1 rendered alongside custom layout H1 when page title is hidden対応中かも @HardeepAsrani が 14 日前に担当しました。 オープンbug-report bug-report-triage customer report
難易度 4/5 1〜2日 初心者へのやさしさ 48/100
Codeinwp/neve#4652 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Enhance home screen and front page customization options in Neve Free対応中かも @faisalahammad が 5 日前に担当しました。 オープンfeature-request-triage
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
Add basic Social Icons component to free Header and Footer builder対応中かも @faisalahammad が 5 日前に担当しました。 オープンfeature-request-triage
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
customer report feature-request-triage
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
Bug-Report
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RSS-Bridge/rss-bridge#5158 ·
メンテナーはふだん 1 日以内に返信
-
triage needed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
kanboard/kanboard#5937 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
octobercms/october#6150 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
flarum/framework#5301 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信