You've already forked wc-bootstrap
Restyle category tree to idiomatic Bootstrap list-group pattern (v0.1.8)
Switch from custom link classes to Bootstrap's native list-group-item-action pattern. Replace bold primary-colored active background with subtle tertiary background, left accent border, and semibold text. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
13
CLAUDE.md
13
CLAUDE.md
@@ -345,10 +345,21 @@ The child theme inherits from `wp-bootstrap` via WordPress `Template: wp-bootstr
|
||||
|
||||
## Version History
|
||||
|
||||
Current version: **v0.1.7**
|
||||
Current version: **v0.1.8**
|
||||
|
||||
## Session History
|
||||
|
||||
### 2026-03-29 — v0.1.8 Restyle Category Tree to Idiomatic Bootstrap
|
||||
|
||||
**Scope:** Restyled the category tree sidebar to use Bootstrap's native `list-group-item-action` pattern with subtler active highlighting.
|
||||
|
||||
**Files modified (4):**
|
||||
|
||||
- `templates/global/category-tree.html.twig` — Switched to `list-group-item list-group-item-action` links in a `list-group-flush` container
|
||||
- `templates/global/category-tree-node.html.twig` — Replaced nested `<ul>` lists with `<div>` wrappers and Bootstrap `collapse` divs; level indentation via inline `padding-left`
|
||||
- `assets/css/wc-bootstrap.css` — Replaced primary-colored active background with subtle tertiary background, left accent border, and semibold text; removed unused `.category-tree-link` rules
|
||||
- `style.css` — Version bump 0.1.7 → 0.1.8
|
||||
|
||||
### 2026-03-29 — v0.1.7 Add Product Category Tree Sidebar
|
||||
|
||||
**Scope:** Added a hierarchical product category tree sidebar to archive/shop and single product pages, with collapsible sub-levels up to 3 levels deep.
|
||||
|
||||
Reference in New Issue
Block a user