Skip to content

Make the new blocks-based pages look better than the old WordPress site#41

Merged
stefan-burke merged 1 commit into
mainfrom
claude/amazing-faraday-hr8w7y
Jun 14, 2026
Merged

Make the new blocks-based pages look better than the old WordPress site#41
stefan-burke merged 1 commit into
mainfrom
claude/amazing-faraday-hr8w7y

Conversation

@stefan-burke

Copy link
Copy Markdown
Member

What & why

The switch to the chobble-template blocks system is great for editing, but a few pages ended up looking worse than the old WordPress export. To find the regressions I built the site at the old commit (bdb0507, the last WordPress-HTML version, against its era-appropriate template) and at main, then took full-page desktop + mobile screenshots of every converted page and compared them.

Catalogue of what was worse on main, and the fix

Page Problem Fix
Home Gallery block with one image and no caption; one long markdown wall with emoji (🌟 ✅) headings Real masonry gallery (6 captioned shots) + a features grid (no emoji) + callout + CTA, so sections alternate background
Capri Galleries had ragged, uneven rows; inconsistent / empty captions masonry: true on both galleries (your suggestion) + rewritten consistent captions + closing CTA
Equipment Photo awkwardly placed making the column narrow; product gallery photos too low-res; redundant plain price tables Full-width layout; short split-image then alternating sections; gallery + tables replaced with image-cards (photo + name + price) cropped to a uniform 4/3 so the small images look tidy
About / Packages Single long markdown blocks (Packages was 64 lines) Split into alternating sections, split-image intros, tidied galleries, dropped emoji, added CTAs
Corporate / FAQs / Party / Special events / Wedding Ragged galleries, sloppy captions, FAQs had a lone single image, Party had a duplicate CTA Uniform 4/3 gallery cropping + tidy captions; FAQs gallery expanded to three; removed Party's duplicate CTA

Duplicate / malformed H1s (one heading per page)

The WordPress export had wrapped an <img> inside an <h1> on several location pages, and in some cases demoted the real page title to <h2> or a bold line:

  • Aldershot & Surrey had a genuine two-H1 duplicate — fixed (also removed a broken inline <style> block on Aldershot).
  • Andover, Bournemouth, Camberley, Chichester, Cobham, Dorking had the image-in-<h1> as their only heading — promoted the real title to a single text <h1> and unwrapped the image.

Every real content page now renders exactly one <h1>. The only remaining h1=2 pages are the template's auto-generated redirect_from stubs (instant meta-refresh redirects, not real content — <h1></h1> + <h1>Redirecting…</h1>); fixing those would need a template change.

Approach notes

  • Stayed within the design system / blocks layout — uses gallery (masonry), features, image-cards, split-image, callout and cta blocks.
  • No inline CSS added; alternating section backgrounds come for free from the design system's even-section striping once a long markdown block is split into several.
  • Masonry only works in full-width containers (≥768px), so it's used on the full-width pages (home, capri, packages) and uniform aspect_ratio cropping is used on the narrower sidebar pages.

Builds cleanly against the current template. Before/after screenshots shared separately.


Generated by Claude Code

The move to the chobble-template blocks system was great for editing but
left several pages looking worse than the old WordPress export. This pass
brings them back up to (and past) the old design while staying within the
design system.

Home:
- Replace the lone single-image, caption-less gallery with a real masonry
  gallery of six captioned marquee shots.
- Break the long markdown wall into an intro, a features grid (no emoji),
  an info callout and a CTA, so sections alternate background.

Capri (/capri-marquee-hire/):
- Add masonry to both galleries so the varied photos pack tightly instead
  of leaving ragged rows; rewrite captions to consistent Title Case and
  fill the empty ones; add a closing CTA.

Equipment (/equipment-marquee-hire/):
- Make the page full width to fix the cramped, narrow column.
- Shorten the top split-image and move the rest into alternating
  full-width sections.
- Replace the low-resolution product gallery and the plain price tables
  with two image-cards catalogues (photo + name + price) cropped to a
  uniform 4/3 ratio, so the small source images look tidy.

About / Packages:
- Split the single long markdown blocks into alternating sections, turn
  intros into split-images, tidy galleries, drop emoji, add CTAs.

Corporate / FAQs / Party / Special events / Wedding:
- Uniform 4/3 gallery cropping and tidier captions; expand the FAQs
  single-image gallery to three; remove the duplicate CTA on Party.

H1 fixes (one heading per page):
- Locations had an <img> wrapped in <h1> (a WordPress export artdefact)
  and, on several, the real title demoted to <h2> or a bold line. Promote
  the title to a single text <h1>, unwrap the image, and drop the broken
  inline <style> block on Aldershot.
@stefan-burke
stefan-burke merged commit 4577a15 into main Jun 14, 2026
3 checks passed
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.

2 participants