Skip to content

Fix Store subsite header font, nav casing, and Woo Hero column gap - #103

Merged
jasperf merged 4 commits into
mainfrom
feature/store-style-woo-fixes
Jul 30, 2026
Merged

Fix Store subsite header font, nav casing, and Woo Hero column gap#103
jasperf merged 4 commits into
mainfrom
feature/store-style-woo-fixes

Conversation

@jasperf

@jasperf jasperf commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Fixes header typography, navigation label casing, layout spacing, and hero content styling on the WooCommerce Store subsite, addressing visual inconsistencies between the store front and the main Elayne theme. The changes introduce a new dedicated stylesheet for store-specific style overrides, adjust the Woo Hero pattern's column gap and content styling to match the design, and update the store style variation JSON to correct font assignments. Supporting changes to functions.php register the new stylesheet, while package.json, readme.txt, and CHANGELOG.md are updated to document the fixes and reflect the current release state.

Store Subsite Styling:

  • Added assets/styles/store-variation.css to isolate Store subsite-specific CSS overrides from the theme's global style.css, following the block-style-CSS convention of loading styles only where needed.
  • Corrected the Store subsite header font in styles/store.json, resolving a mismatch where the header was not rendering with the intended theme typography.
  • Fixed navigation menu item casing on the Store subsite so labels render consistently with the rest of the site's navigation styling.

Pattern Fixes:

  • Adjusted the column gap in patterns/woocommerce/woo-hero.php to correct spacing inconsistencies in the hero section layout on WooCommerce pages.

Woo Hero Eyebrow, Description & Buttons:

  • Added the decorative line before "New Collection 2025" in patterns/woocommerce/woo-hero.php.
  • Narrowed the description paragraph to a 360px measure with the design's smaller, dimmer color and font size.
  • Fixed the description and buttons row rendering centered instead of flush-left with the heading — both are non-aligned direct children of a constrained-layout group, which WordPress core force-centers via margin-left/right:auto !important whenever a child's own rendered width is narrower than the column. Pinned both back to flush-left in assets/styles/woocommerce.css.

Theme Registration and Documentation:

  • Updated functions.php to enqueue/register the new store-variation.css stylesheet so the fixes are applied on the Store subsite.
  • Updated CHANGELOG.md and readme.txt with new entries documenting the header, navigation, hero spacing, and hero content fixes, and bumped package.json accordingly.

Files Changed:

jasperf added 4 commits July 30, 2026 08:36
Adds a store-variation.css stylesheet (enqueued only when the Store style
variation is active) for the uppercase letter-spaced nav and larger
letter-spaced logo with accent dot, matching the Elayne Store design,
without touching the header-standard pattern shared by every vertical.

Fixes the logo silently falling back to the body font: header-standard.php
references a `primary` font-family slug that no vertical style variation
defines, only the base theme.json does. Store now defines it explicitly.

Also fixes a ~19px gap between the Woo Hero pattern's content panel and
image caused by a missing blockGap override on the two-column layout.

Bumps version to 4.8.1.
Adds the decorative line before "New Collection 2025", narrows the
description paragraph to a 360px measure with the design's smaller,
dimmer color and font size, and fixes the description and buttons row
rendering centered instead of flush-left with the heading — both are
non-aligned direct children of a constrained-layout group, which core
force-centers via margin-left/right:auto !important whenever a child's
own rendered width is narrower than the column.
2ec9a48 renamed the existing 4.8.0 heading to 4.8.1 and inserted new
content above the old entries instead of adding a fresh heading,
merging the two releases' notes under one version.
@jasperf
jasperf merged commit 9a50446 into main Jul 30, 2026
3 checks passed
@jasperf
jasperf deleted the feature/store-style-woo-fixes branch July 30, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant