Skip to content

Commit 14d29d5

Browse files
RivianTrackrclaude
andcommitted
Pin hover text color on anchor buttons (v1.49.3)
The compare and tire-review standalone templates pull the theme stylesheet via wp_head(), and the theme's global a:hover color (#ffbe4a) outranks a button's non-hover text color — hovering the gold "View Tire" CTA turned its text light-gold on a light-gold background. Hover rules for .cmp-cta-primary, .cmp-cta-review, .cmp-btn-primary, and .rv-btn-primary now set color and text-decoration explicitly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5a66c7f commit 14d29d5

5 files changed

Lines changed: 12 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to the Rivian Tire Guide plugin will be documented in this f
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7+
## [1.49.3] - 2026-06-12
8+
9+
### Fixed
10+
- **"View Tire" (and other anchor buttons) turned unreadable on hover.** The compare and tire-review templates load the theme stylesheet via `wp_head()`, and the theme's global `a:hover { color: #ffbe4a }` outranks a button's non-hover text color — so hovering a gold button turned its text light-gold on a light-gold background. Hover rules for `.cmp-cta-primary`, `.cmp-cta-review`, `.cmp-btn-primary`, and `.rv-btn-primary` now pin their text color (and `text-decoration: none`) explicitly.
11+
712
## [1.49.2] - 2026-06-12
813

914
### Fixed

frontend/templates/compare.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
border-color: var(--rtg-accent);
114114
color: #15130e;
115115
}
116-
.cmp-btn-primary:hover { background: var(--rtg-accent-hover); border-color: var(--rtg-accent-hover); }
116+
.cmp-btn-primary:hover { background: var(--rtg-accent-hover); border-color: var(--rtg-accent-hover); color: #15130e; text-decoration: none; }
117117

118118
/* --- Page --- */
119119
.cmp-page { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }
@@ -337,12 +337,12 @@
337337
background: var(--rtg-accent);
338338
color: #15130e;
339339
}
340-
.cmp-cta-primary:hover { background: var(--rtg-accent-hover); }
340+
.cmp-cta-primary:hover { background: var(--rtg-accent-hover); color: #15130e; text-decoration: none; }
341341
.cmp-cta-review {
342342
background: #7c3aed;
343343
color: #fff;
344344
}
345-
.cmp-cta-review:hover { background: #6d28d9; }
345+
.cmp-cta-review:hover { background: #6d28d9; color: #fff; text-decoration: none; }
346346

347347
/* --- Empty state --- */
348348
.cmp-empty {

frontend/templates/tire-review.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@
580580
border-color: var(--rtg-accent);
581581
color: #15130e;
582582
}
583-
.rv-btn-primary:hover { background: var(--rtg-accent-hover); border-color: var(--rtg-accent-hover); }
583+
.rv-btn-primary:hover { background: var(--rtg-accent-hover); border-color: var(--rtg-accent-hover); color: #15130e; text-decoration: none; }
584584

585585
/* --- Footer --- */
586586
.rv-footer {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rivian-tire-guide",
3-
"version": "1.49.2",
3+
"version": "1.49.3",
44
"private": true,
55
"description": "Interactive tire guide for Rivian vehicles — WordPress plugin",
66
"scripts": {

rivian-tire-guide.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Rivian Tire Guide
44
* Description: Interactive tire guide for Rivian vehicles with filtering, comparison, and ratings.
5-
* Version: 1.49.2
5+
* Version: 1.49.3
66
* Author: RivianTrackr
77
* Text Domain: rivian-tire-guide
88
* Requires at least: 5.8
@@ -14,7 +14,7 @@
1414
exit;
1515
}
1616

17-
define( 'RTG_VERSION', '1.49.2' );
17+
define( 'RTG_VERSION', '1.49.3' );
1818
define( 'RTG_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
1919
define( 'RTG_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
2020
define( 'RTG_PLUGIN_FILE', __FILE__ );

0 commit comments

Comments
 (0)