Sections

Rains Hero section

A hero section from uk.rains.com, previewed live.

HeroFashionMonochromatic

Built with
Shopify
See 3 more sections from Rains
Visit site

Rains

How to build it on Shopify. Not the brand’s code: one prompt for your AI.

A full-height background image hero with a full-cover link, overlaid bottom-left content (oversized heading, subheading, row of buttons) that stays sticky while the section scrolls past.

Hero1 block type16 settings

Measured from the live section at desktop, tablet and phone widths. Structure only: colours, fonts and copy come from your theme.

Prerequisites

  1. An AI coding tool that can edit files
  2. The Shopify CLI, with your theme pulled
  3. Optional: Shopify AI Toolkit or Dev MCP

Anatomy

The section’s structure on desktop and mobile, by part.

SectionBackground imageOverlay contentHeadingSubheadingButtonsButton×2
  • SectionGroup

    Media frame is sticky. Height ~900px on desktop/tablet, viewport height (~667) on mobile. Content is layered over the image and pinned until the section's bottom edge scrolls past.

    • Background imageImageSetting · image

      Covers the whole frame. Optional separate mobile crop.

    • Full-cover linkLinkSetting · cover_link

      Transparent anchor covering the full frame (to a collection in the reference). Sits under the content so the buttons stay clickable.

    • Overlay contentGroup

      Full width, anchored to the bottom-left. position: sticky so it stays in view while scrolling within the section.

      • HeadingTextSetting · heading

        Oversized display heading of one word. ~250px line box on desktop/tablet, ~61px on mobile. Can overflow on tablet.

      • SubheadingTextSetting · subheading

        Short line of 3–5 words. Larger on desktop than on tablet or mobile.

      • ButtonsGroup

        Wrapping row. Buttons stack on mobile.

        • ButtonButtonRepeats as button blocks

          Pill button. There are 2 in the reference, each linking to a collection.

          • Button labelTextbutton block · label + link

Layout by breakpoint

Mobileup to 749px

Frame is about viewport height. The heading scales down and the buttons stack vertically, bottom-left.

Tablet750px and up

Same layering. The heading keeps its size and may crop at the edge. The subheading is smaller.

Desktop990px and up

Image fills the full-width frame. Content block is pinned bottom-left with a huge heading, the subheading below it and buttons in a row.

Interactions

What visitors can do, and what happens.

On scroll

The frame and overlay content stay pinned to the viewport while the section scrolls, and release when the section's bottom edge is reached. Scrolling back up re-pins them.

Theme editor settings

What a merchant can change on the section.

Content
Background imageimage_picker
Mobile imageimage_picker
Image linkurl
Image link accessible labeltext
Headinginline_richtext
Subheadingtext
Layout
HeightselectMedium / Large / Full screen
Content positionselectTop / Middle / Bottom
Text alignmenttext_alignment
Heading sizeselectLarge / Extra large / Display
Mobile buttons layoutselectStack / Row
Keep content sticky on scrollcheckbox
Style
Color schemecolor_scheme
Image overlay opacityrange0–100 %
Top paddingrange0–100 px
Bottom paddingrange0–100 px

Button blockup to 3 blocks in all

Labeltext
Linkurl

Starting layouts: Sticky overlay hero, Sticky hero: centered

Open decisions

Judgment calls made reading the section. Your AI will see these too.

  • The sticky behaviour comes from the section note and the measured position: sticky; the exact release point is assumed to be the section's bottom edge.
  • The full-cover link is kept as an optional setting with an accessible label, and it sits under the buttons.
  • The heading overflows the frame at 768px in the reference; the heading_size select lets merchants avoid that.
  • A mobile image and an overlay opacity are added as conveniences; neither was observed.
  • Buttons are blocks (max 3) even though the reference has a fixed pair.

Build it in your theme

Paste the prompt into your AI tool. It works out your theme’s block setup, then builds the section.

Store Supplies describes how this site is built, using what’s publicly visible, for reference and learning. All trademarks, imagery and designs belong to Rains, which isn’t affiliated with us. Own this site?

Similar sections

More hero sections

View all
New
STEL hero section, fashion Shopify store example, desktop
STELHero, Fashion, Monochromatic
View
New
George Cox hero section, fashion Shopify store example, desktop
George CoxHero, Fashion, Brutalist
View
New
Arte hero section, fashion Shopify store example, desktop
ArteHero, Fashion, Minimal
View
Polène hero section, fashion Shopify store example, desktop
PolèneHero, Fashion, Luxury
View
Junes Days hero section, fashion Shopify store example, desktop
Junes DaysHero, Fashion, Illustrations
View
New
TWYG Skincare hero section, skincare Shopify store example, desktop
TWYG SkincareHero, Skincare, Luxury
View
Drink Collider hero section, non-alcoholic Shopify store example, desktop
Drink ColliderHero, Non-Alcoholic, Bold
View
Current Collection hero section, interiors Shopify store example, desktop
Current CollectionHero, Interiors, Modern
View
Norr11 hero section, furniture Shopify store example, desktop
Norr11Hero, Furniture, Minimal
View
Norr11 hero / gallery section, furniture Shopify store example, desktop
Norr11Hero, Gallery, Furniture
View
Oka hero / shop the look section, furniture Shopify store example, desktop
OkaHero, Shop the Look, Furniture
View
AG1 hero section, supplements Shopify store example, desktop
AG1Hero, Supplements
View

More from Rains

Other sections from this website

View all
Rains features section, fashion Shopify store example, desktop
RainsFeatures, Fashion
View
Rains product page section, fashion Shopify store example, desktop
RainsProduct Page, Fashion, Monochromatic
View
Rains footer section, fashion Shopify store example, desktop
RainsFooter, Fashion, Monochromatic
View

The best of Shopify, curated weekly.

WebsitesSectionsFeatures
LoginSign up