Home/Instructions

How it works

Everything you need to customise Hearthwell, from design tokens to animation attributes.

Getting started

Variables

Open Variables in the Designer to edit the design system. The Base collection holds colours, fonts and corner radii. The Spacing collection holds the page Gutter, which shrinks automatically on tablet and mobile through breakpoint modes.

Fonts

Headings use Font Display (Bricolage Grotesque, condensed with font-variation-settings: "wdth" 75) and body text uses Font Body (Figtree). To swap fonts, upload new ones in Site settings → Fonts and update the two font variables.

Components

The Header, Mobile Nav, Footer, Page Transition and Cursor are components in the Global group. Edit one and every page updates.

How to Edit GSAP Animations

All motion is built with GSAP and ScrollTrigger (no legacy Webflow Interactions). Both libraries are loaded by Webflow itself, from Site settings → GSAP (GSAP Core + ScrollTrigger plugin). The animation script lives in Site settings → Custom code → Footer code. Add these attributes to any element (Element settings → Custom attributes) to animate it:

  • data-reveal fades and lifts an element in on scroll.
  • data-split reveals a heading word by word.
  • data-hero-chars animates hero titles letter by letter on load.
  • data-hero-fade fades hero content in after the page transition.
  • data-highlight brightens a paragraph word by word as you scroll.
  • data-parallax (on an image wrapper) moves the image inside its frame.
  • data-img-reveal wipes an image in like a curtain.
  • data-count="48" counts a number up when it scrolls into view.
  • data-cursor="View" shows a label in the custom cursor on hover.

Visitors who prefer reduced motion automatically get a static version.

Edit timing and easing: open the Footer code and search for the attribute or class name (for example data-reveal or .hdr). Each animation is a single gsap.to(), gsap.from() or timeline call. Change duration (seconds, kept between 0.15 and 0.8), ease (for example expo.out) or stagger. Scroll start points are set with start: "top 90%".

Other effects: the page transition uses .pt, the sticky header .hdr, marquees .mq-track (data-speed / data-dir), horizontal scroll .hs, stacked cards .scard, the timeline .tl, magnetic buttons .btn and the hero image trail .trail.

Remove an animation: delete the attribute from the element, or delete the matching block in the Footer code. To turn off all motion at once, switch GSAP off in Site settings → GSAP. The script then detects that GSAP is missing and shows a static layout, while the menu, filters, accordions, gallery and forms keep working.

Recipes CMS

Recipes are managed in the Recipes CMS collection. Each recipe page, the Recipes grid and the “More to cook” slider fill automatically. Add a recipe in the CMS panel and it appears everywhere.

  • Category is one word (brunch, lunch or bake). It drives the filter buttons on the Recipes page.
  • Ingredients is a bulleted list. Each bullet becomes a tickable checkbox.
  • Method is a Heading 4 for each step followed by a paragraph. Steps are numbered automatically.
  • To add a new filter, duplicate a filter button and set its data-cat to the new category word.

Interaction styles

A small stylesheet in Site settings → Custom code → Head holds hover and JavaScript-driven states that Webflow classes cannot express (open menu, active filter, accordion open, header on scroll). It only uses the template's own class names.

Preloader

The counter preloader on the Home page plays once per visit. To remove it, delete the loader element at the top of the Home page.

Filters & accordions

Product and recipe filters match each button's data-cat to the card's data-cat attribute. Accordions open and close automatically. Just duplicate an acc-i item and edit its text.

Forms

The Contact, Careers, Newsletter and store-finder forms are native Webflow forms. Submissions appear under Site settings → Forms. The store finder filters the list as you type and does not submit.

Images

All images are WebP and under 150 KB. Replace them through the Assets panel or by selecting an image and choosing a new one in the settings panel.