← back to Dw Theme Tab Banners

README.md

23 lines

# dw-theme-tab-banners

New DW homepage that turns the collection **tabs** (a Shopify menu / linklist)
into a wall of **banners**, one per link, each `href`-linked to its collection.
Replaces the sections below the hero (`home-masonry`, `home-collections`, etc.).

## Files
- `sections/home-tab-banners.liquid` — the section. Loops a chosen menu, emits a
  banner per link. Image = collection image → first product image → fallback.
  All settings editable in the theme editor (menu, columns, height, overlay, CTA).
- `templates/index.json` — sample homepage: `home-slideshow` hero + `home-tab-banners`.

## Deploy (GATED — needs Steve's go)
Development-theme preview against the LIVE store (`designer-laboratory-sandbox`):
```
cd <live theme working copy>              # shopify theme pull --live first
cp <this>/sections/home-tab-banners.liquid sections/
# merge templates/index.json (keep your real hero block)
shopify theme push --development --path .  # preview URL, NOT live
```
Notes: store is at the 20-theme cap — a new dev theme may evict an old one.
Going live = `--allow-live --only templates/index.json,sections/home-tab-banners.liquid`.