Skip to main content
James Patrick De Mesa

Case study, website

Thread & Form

A WordPress block theme for a fashion label, built so every page reads like an editorial spread and can still be edited in the Site Editor without a page builder.

What it is
A concept build for a fictional fashion label. No client commissioned it.
My part
Design, theme development and the static demo build
Built with
WordPress block theme with theme.json v3, PHP, Tailwind CSS v4 and plain JavaScript
Requires
WordPress 6.6 or later, PHP 7.4 or later
The Thread & Form homepage as it first appears, with the headline “A study in deliberate form.” and buttons to explore the collection and read the studio manifesto.
The live demo’s first screen on a phone.

What the theme had to do

Read like a magazine, sell like a shop

A serif display face, wide margins and large photography carry the editorial tone, while the collection grid, product cards and bag keep shopping one step away.

Editable without a page builder

Every layout is made of core blocks, saved as templates, template parts and patterns. A shop owner changes words and images in the Site Editor, not in code.

One set of tokens

Colours, fonts, type sizes, spacing and layout widths are defined once in theme.json, so the editor, the blocks and the front end all draw from the same values.

The front page, pulled apart

The front-page template is nothing but a header, a footer and a stack of block patterns. Here is the live demo’s front page cut along those seams, top to bottom. Each piece can be moved, removed or reused on another page from the Site Editor. On a phone, each piece is shown as the demo itself looks on a phone.

  1. Header

    Template part header

    Announcement bar, logo, navigation, and search, wishlist and bag buttons.

    The header section of the Thread & Form front page.
  2. Editorial hero

    Pattern thread-and-form/hero

    Headline, introduction, two calls to action and three material facts, beside a featured look and its product card.

    The editorial hero section of the Thread & Form front page.

    The press pattern sits here in the template. It holds placeholder quotes, so it is left out.

  3. Standards ribbon

    Pattern thread-and-form/marquee

    A dark band listing the label’s materials and promises, from organic twill to lifetime repair.

    The standards ribbon section of the Thread & Form front page.
  4. Featured collection

    Pattern thread-and-form/collection

    Products with category filters, colour swatches, prices and a quick view. With WooCommerce active, the grid lists real products.

    The featured collection section of the Thread & Form front page.
  5. Material study

    Pattern thread-and-form/materials

    One card per material: where it is made, what it is like, and two short certifications.

    The material study section of the Thread & Form front page.
  6. Values

    Pattern thread-and-form/values

    Four short promises: traceable fibres, the cut, a repair guarantee and carbon-neutral dispatch.

    The values section of the Thread & Form front page.
  7. Studio story

    Pattern thread-and-form/story

    The label’s philosophy, a pull quote and three figures, beside a portrait.

    The studio story section of the Thread & Form front page.
  8. Lookbook banner

    Pattern thread-and-form/lookbook

    A full-width image with a short pitch for the current capsule.

    The lookbook banner section of the Thread & Form front page.
  9. Journal

    Pattern thread-and-form/journal

    The three latest stories from the journal.

    The journal section of the Thread & Form front page.
  10. Newsletter

    Pattern thread-and-form/newsletter

    A sign-up invitation with an email field.

    The newsletter section of the Thread & Form front page.
  11. Footer

    Template part footer

    Brand note, shop, service and contact columns, and social links.

    The footer section of the Thread & Form front page.

The visual system, straight from theme.json

These are the theme’s actual tokens. The Site Editor offers them as presets, and the theme’s CSS reads the same values, so a change made once shows up everywhere.

Colour

  • Navy#11141a
  • Paper#fbfaf7
  • Sand#f2eee7
  • Blue#e2ebf2
  • Muted#5c6773
  • Line#e5e0d8
  • Accent#b36b43
  • White#ffffff

Spacing

  • 20, 0.75rem
  • 30, 1.5rem
  • 40, 2.5rem
  • 50, 5rem
  • 60, 7.5rem

Content is set at 820 px wide and wide blocks at 1440 px.

Type

Playfair Display for display text, Plus Jakarta Sans for everything else. Sizes are fluid, so each one scales down smoothly on small screens.

  • display, 5.5remDeliberate form
  • xx-large, 3.5remDeliberate form
  • x-large, 2.25remDeliberate form
  • large, 1.25remDeliberate form
  • medium, 1remDeliberate form
  • small, 0.875remDeliberate form

Same page, phone width

On a phone the two-column hero stacks, the product grid narrows to one column, the standards band becomes a list and the navigation folds into a menu. The front page that is 7,458 pixels tall at desktop width runs to 15,318 at phone width: the same content, set for reading one thing at a time.

The layout changes at 1024 and 768 pixels, and the type sizes are fluid in between, so headings shrink smoothly rather than jumping at an odd width.

The Thread & Form homepage at phone width, with the headline stacked above the photograph.
Phone
Desktop

How the theme is built

16 templates

in templates/

  • front-page.html
  • index.html
  • page.html
  • single.html
  • archive.html
  • search.html
  • 404.html
  • blank.html
  • page-about.html
  • page-collection.html
  • page-journal.html
  • page-contact.html
  • page-size-guide.html
  • page-shipping-returns.html
  • page-cart.html
  • page-checkout.html

2 template parts

in parts/

  • header.html
  • footer.html

17 patterns

in patterns/

  • hero.php
  • marquee.php
  • collection.php
  • materials.php
  • values.php
  • story.php
  • lookbook.php
  • journal.php
  • newsletter.php
  • press.php (not shown on this site)
  • header.php
  • footer.php
  • 404.php
  • about-page.php
  • contact-page.php
  • size-guide-page.php
  • shipping-returns-page.php

Theme setup

functions.php declares support for WooCommerce, the title tag, featured images and editor styles, adds resource hints for the font host, and loads the fonts, the theme stylesheet, an optional Tailwind build and one script.

Search engines and sharing

A small SEO module writes the page title, canonical URL, description, Open Graph tags and a JSON-LD graph for the store, the site, breadcrumbs and journal posts, and preloads the hero image at high priority. If Yoast, Rank Math, All in One SEO, SEOPress or The SEO Framework is active, it stays out of the way.

Setting up a new site

An admin screen creates the pages the templates expect, such as the collection, story, journal and contact pages, so a fresh install matches the demo in one step. It checks the user’s permission and a security nonce first.

Accessibility

Icon-only buttons and the navigation have accessible names, the mobile menu button reports whether the menu is open, and keyboard focus is shown with a visible outline in the accent colour.

What to keep in mind

  • Thread & Form is a fictional label. Its products, prices, materials and story are sample content written for the theme.
  • The theme’s press pattern contains placeholder quotes, so it is left out of the previews on this site.
  • The live demo is a static snapshot of a local WordPress install, generated with Puppeteer and published to GitHub Pages. Anything that needs a running server, such as WooCommerce checkout or form submission, does not work there.
  • The theme’s transitions and scroll reveals do not yet check for a reduced-motion preference.