AnvilDocs v1.0.0 Contact support

Sections and blocks

Every section and block in Anvil, with the same names you see in the theme editor. To open the editor, go to Online Store > Themes and click Customize.

Home page

Hero

The first section on the home page. Use Text on image for a full-width photo, or Text next to image for a split layout. Turn on Show search bar so customers can search by SKU right from the banner.

SettingTypeDetails
LayoutMenuOptions: Text on image, Text next to image
Default: Text on image
ImageImage2400 x 1200px .jpg recommended
Image on small screensImageOptional. 3:4 aspect ratio recommended
Section heightMenuOptions: Small, Medium, Large
Default: Medium
Image overlay opacitySliderFrom 0% to 80%
Default: 20%
Content positionMenuOptions: Left, Center, Right
Default: Left
Color schemeColor scheme
Content
SubheadingTextDefault: Subheading
HeadingTextDefault: Image banner
Heading sizeMenuOptions: Medium, Large, Extra large
Default: Extra large
TextRich text
Show search barCheckboxDefault: On
Search placeholderTextDefault: Search by product, SKU, or part number
Buttons
First button labelTextDefault: Button label
First button linkLink
Second button labelText
Second button linkLink

Service highlights

A row of short promises such as delivery, pickup, or trade accounts. Each highlight can link to a page.

SettingTypeDetails
Color schemeColor scheme
Top paddingSliderFrom 0px to 120px
Default: 0px
Bottom paddingSliderFrom 0px to 120px
Default: 0px

Highlight block

SettingTypeDetails
IconMenuOptions: Delivery, Store, Clock, Phone, Tag, Shield, Wrench, Box, Ruler, Bolt
Default: Delivery
HeadingTextDefault: Highlight a service
TextTextDefault: Add a short detail
LinkLink

Collection list

Department cards for your main collections. Add one Collection block per department.

SettingTypeDetails
Color schemeColor scheme
SubheadingText
HeadingTextDefault: Shop by department
TextRich text
Link labelTextDefault: View all
Columns on large screensSliderFrom 3 to 6
Default: 6
Columns on small screensMenuOptions: 1, 2
Default: 2
Image fitMenuOptions: Show full image, Fill frame
Default: Show full image
Show product countCheckboxDefault: On
Top paddingSliderFrom 0px to 120px
Default: 32px
Bottom paddingSliderFrom 0px to 120px
Default: 32px

Collection block

SettingTypeDetails
CollectionCollection
Custom titleTextLeave blank to use the collection title
Custom imageImageLeave blank to use the collection image

Shows products from one collection. Choose List layout to show specification metafields next to each product.

SettingTypeDetails
Color schemeColor scheme
CollectionCollection
SubheadingText
HeadingTextDefault: Featured collection
TextRich text
Link labelTextDefault: View all
Product countSliderFrom 2 to 24
Default: 8
Columns on large screensSliderFrom 2 to 6
Default: 4
LayoutMenuOptions: Grid, List
Default: Grid
Specification metafieldsTextShown in list layout. Enter up to 3 product metafield keys separated by commas, for example custom.material, custom.size
Top paddingSliderFrom 0px to 120px
Default: 32px
Bottom paddingSliderFrom 0px to 120px
Default: 32px

Shop by project

Groups products by job, for example "Bathroom refit" or "Fence repair". Each project can show up to 6 quick links from a menu.

SettingTypeDetails
Color schemeColor scheme
SubheadingText
HeadingTextDefault: Shop by project
TextRich text
Columns on large screensSliderFrom 2 to 4
Default: 3
Top paddingSliderFrom 0px to 120px
Default: 48px
Bottom paddingSliderFrom 0px to 120px
Default: 48px

Project block

SettingTypeDetails
ImageImage4:3 aspect ratio recommended
HeadingTextDefault: Project name
TextRich text
Quick linksMenu pickerShows up to 6 links as tags
Link labelTextDefault: Shop the project
LinkLink

Multicolumn

Columns of icons, headings, and text. Useful for explaining services or trade benefits.

SettingTypeDetails
Color schemeColor scheme
LayoutMenuOptions: Heading next to columns, Heading above columns
Default: Heading next to columns
SubheadingTextDefault: Subheading
HeadingTextDefault: Multicolumn
TextRich text
Button labelTextDefault: Button label
Button linkLink
Top paddingSliderFrom 0px to 120px
Default: 64px
Bottom paddingSliderFrom 0px to 120px
Default: 64px

Column block

SettingTypeDetails
IconMenuOptions: Tag, Delivery, Store, Clock, Phone, Shield, Wrench, Box, Ruler, Bolt, Document
Default: Tag
HeadingTextDefault: Column
TextRich text

Image with text

An image beside a heading, text, and button.

SettingTypeDetails
Color schemeColor scheme
ImageImage
Image ratioMenuOptions: Square, Landscape, Portrait
Default: Landscape
Image position on large screensMenuOptions: Left, Right
Default: Left
SubheadingText
HeadingTextDefault: Image with text
TextRich text
Button labelTextDefault: Button label
Button linkLink
Button styleMenuOptions: Primary, Secondary
Default: Primary
Top paddingSliderFrom 0px to 120px
Default: 48px
Bottom paddingSliderFrom 0px to 120px
Default: 48px

Logo list

Brand logos with optional links to their collections.

SettingTypeDetails
Color schemeColor scheme
SubheadingText
HeadingTextDefault: Brands we stock
Columns on large screensSliderFrom 3 to 8
Default: 6
Show logos in grayscaleCheckboxDefault: On
Top paddingSliderFrom 0px to 120px
Default: 32px
Bottom paddingSliderFrom 0px to 120px
Default: 32px

Logo block

SettingTypeDetails
LogoImage320 x 120px .png recommended
Brand nameTextUsed as alternative text
LinkLink

Rich text

Headings, text, and buttons on a plain background.

SettingTypeDetails
Color schemeColor scheme
AlignmentMenuOptions: Left, Center
Default: Center
Top paddingSliderFrom 0px to 120px
Default: 48px
Bottom paddingSliderFrom 0px to 120px
Default: 48px

Heading block

SettingTypeDetails
HeadingTextDefault: Talk about your brand
Heading sizeMenuOptions: Small, Medium, Large
Default: Medium

Text block

SettingTypeDetails
TextRich text

Button block

SettingTypeDetails
Button labelTextDefault: Button label
Button linkLink
Button styleMenuOptions: Primary, Secondary, Outline
Default: Primary

Email signup

An email signup form. Subscribers are added to your customer list with email marketing consent.

SettingTypeDetails
Color schemeColor scheme
HeadingTextDefault: Subscribe to our emails
TextRich text
Button labelTextDefault: Subscribe
Top paddingSliderFrom 0px to 120px
Default: 48px
Bottom paddingSliderFrom 0px to 120px
Default: 48px

Custom Liquid

Adds your own Liquid, HTML, or app snippets. Code in this section isn't covered by theme support.

SettingTypeDetails
Liquid codeLiquidAdd app snippets or other code to create advanced customizations
Color schemeColor scheme
Top paddingSliderFrom 0px to 120px
Default: 32px
Bottom paddingSliderFrom 0px to 120px
Default: 32px

Custom section

A flexible container for theme blocks and app blocks.

SettingTypeDetails
Background imageImage

Theme blocks

Add Group and Text blocks, or blocks from apps.

Top bar

The thin bar above the header. Add messages such as delivery cut-off times and a secondary menu.

SettingTypeDetails
Color schemeColor scheme
Secondary menuMenu pickerShown on large screens

Message block

SettingTypeDetails
IconMenuOptions: None, Delivery, Store, Clock, Phone, Tag, Shield, Wrench
Default: Delivery
TextTextDefault: Share store hours, delivery, or pickup details
LinkLink

Header

Logo, search, account, and cart. Main menu items that have second-level links with their own links open as a mega menu.

SettingTypeDetails
Color schemeColor scheme
Main menuMenu pickerSecond-level links with their own links appear as a mega menu
Customer account menuMenu picker
Search placeholderTextDefault: Search by product, SKU, or part number
Keep header visible when scrollingCheckboxDefault: On

Menu promotion block

SettingTypeDetails
Main menu itemTextEnter the exact name of a main menu item with a dropdown
ImageImage4:3 aspect ratio recommended
HeadingTextDefault: Featured promotion
TextTextDefault: Add a short description
LinkLink

Brand information, menus, text, and an email signup, plus a bottom bar with country, language, payment icons, and policies.

SettingTypeDetails
Color schemeColor scheme
Bottom bar
Show country/region selectorCheckboxAdd countries or regions in your market settings
Default: On
Show language selectorCheckboxAdd languages in your language settings
Default: On
Show Follow on ShopCheckboxCustomers need the Shop app installed to follow your store
Default: On
Show payment iconsCheckboxDefault: On
Show policy linksCheckboxDefault: On
Show Powered by ShopifyCheckboxDefault: Off

Brand information block

SettingTypeDetails
Show logoCheckboxDefault: On
TextRich text
Show social media iconsCheckboxAdd links in theme settings
Default: On

Menu block

SettingTypeDetails
HeadingTextDefault: Quick links
Footer menuMenu picker

Text block

SettingTypeDetails
HeadingTextDefault: Heading
TextRich text

Email signup block

SettingTypeDetails
HeadingTextDefault: Subscribe to our emails
TextRich text

Product

Product information

The product page. Blocks with a Placement on large screens setting can sit next to the media or below it.

SettingTypeDetails
Color schemeColor scheme
Media ratioMenuOptions: Square, Portrait, Landscape
Default: Square
Media fitMenuOptions: Show full image, Fill frame
Default: Show full image
Keep product information visible when scrollingCheckboxDefault: On
Update the page URL when a variant is selectedCheckboxDefault: On
Top paddingSliderFrom 0px to 120px
Default: 24px
Bottom paddingSliderFrom 0px to 120px
Default: 48px

App blocks

Apps that support theme app extensions can add blocks here.

Text block

SettingTypeDetails
TextRich text
Text styleMenuOptions: Body text, Subtle
Default: Body text

Vendor block

This has no settings of its own.

Title block

SettingTypeDetails
Heading sizeMenuOptions: Small, Medium, Large
Default: Medium

SKU and codes block

SettingTypeDetails
Show barcodeCheckboxDefault: Off
Show product typeCheckboxDefault: Off

Price block

This has no settings of its own.

Stock status block

SettingTypeDetails
Shows real inventory levels. Set the low stock threshold in theme settings.

Variant picker block

SettingTypeDetails
StyleMenuOptions: Buttons, Dropdown
Default: Buttons

Volume pricing block

SettingTypeDetails
HeadingTextDefault: Volume pricing
Shows quantity rules and price breaks from B2B catalogs.

Buy buttons block

SettingTypeDetails
Show quantity selectorCheckboxDefault: On
Show dynamic checkout buttonsCheckboxCustomers see their preferred payment option, like PayPal or Apple Pay
Default: On
Show recipient form for gift cardsCheckboxDefault: On

Bulk order table block

SettingTypeDetails
HeadingTextDefault: Order multiple sizes
Collapse by defaultCheckboxDefault: Off
Lists up to 50 variants with a quantity field for each.

Description block

SettingTypeDetails
Placement on large screensMenuOptions: Next to media, Below media
Default: Below media
HeadingTextDefault: Overview

Specifications block

SettingTypeDetails
Placement on large screensMenuOptions: Next to media, Below media
Default: Below media
HeadingTextDefault: Specifications
Product metafieldsMulti-line textOne per line, as Label: namespace.key. For example Material: custom.material
Show vendorCheckboxDefault: On
Show product typeCheckboxDefault: On
Show weightCheckboxDefault: On
Show barcodeCheckboxDefault: Off

Downloads block

SettingTypeDetails
Placement on large screensMenuOptions: Next to media, Below media
Default: Below media
HeadingTextDefault: Manuals and data sheets
File metafieldTextA file or list of files metafield, for example custom.documents
Extra link labelText
Extra linkLink

Collapsible row block

SettingTypeDetails
Placement on large screensMenuOptions: Next to media, Below media
Default: Next to media
IconMenuOptions: None, Delivery, Shield, Box, Ruler, Wrench, Information
Default: Delivery
HeadingTextDefault: Collapsible row
Row contentRich text
Row content from pagePage

Complementary products block

SettingTypeDetails
Select complementary products in the Search and Discovery app.
HeadingTextDefault: Pairs well with
Maximum productsSliderFrom 1 to 6
Default: 3

Share block

This has no settings of its own.

Custom Liquid block

SettingTypeDetails
Liquid codeLiquidAdd app snippets or other code to create advanced customizations

Related products

Related products below the product information.

SettingTypeDetails
Recommendations update automatically over time. You can also set related products in the Search and Discovery app.
Color schemeColor scheme
HeadingTextDefault: You may also need
Maximum productsSliderFrom 2 to 10
Default: 4
Columns on large screensSliderFrom 2 to 5
Default: 4
Top paddingSliderFrom 0px to 120px
Default: 32px
Bottom paddingSliderFrom 0px to 120px
Default: 48px

Product grid

The collection page product grid with filters, sorting, and the grid and list switch.

SettingTypeDetails
Color schemeColor scheme
Collection banner
Show collection descriptionCheckboxDefault: On
Show collection imageCheckboxDefault: On
Products
Products per pageSliderFrom 8 to 48
Default: 24
Columns on large screensSliderFrom 2 to 5
Default: 4
Columns on small screensMenuOptions: 1, 2
Default: 2
Default layoutMenuOptions: Grid, List
Default: Grid
Let customers switch between grid and listCheckboxDefault: On
Specification metafieldsTextShown in list layout. Enter up to 3 product metafield keys separated by commas, for example custom.material, custom.size
Filtering and sorting
Enable filteringCheckboxCustomize filters with the Search and Discovery app
Default: On
Enable sortingCheckboxDefault: On

Collections list page

SettingTypeDetails
Color schemeColor scheme
Collections per pageSliderFrom 12 to 48
Default: 24
Columns on large screensSliderFrom 3 to 6
Default: 5
Top paddingSliderFrom 0px to 120px
Default: 48px
Bottom paddingSliderFrom 0px to 120px
Default: 64px

The search results page. It uses the same filters and list layout as collections.

SettingTypeDetails
Color schemeColor scheme
Results per pageSliderFrom 8 to 48
Default: 24
Columns on large screensSliderFrom 2 to 5
Default: 4
Columns on small screensMenuOptions: 1, 2
Default: 2
Default layoutMenuOptions: Grid, List
Default: List
Let customers switch between grid and listCheckboxDefault: On
Specification metafieldsTextShown in list layout. Enter up to 3 product metafield keys separated by commas, for example custom.material, custom.size
Enable filteringCheckboxCustomize filters with the Search and Discovery app
Default: On
Enable sortingCheckboxDefault: On

Cart

Cart

The cart page.

SettingTypeDetails
Color schemeColor scheme
Top paddingSliderFrom 0px to 120px
Default: 32px
Bottom paddingSliderFrom 0px to 120px
Default: 64px

Cart drawer

The slide-out cart used when Cart type is set to Drawer.

SettingTypeDetails
Color schemeColor scheme

Other pages

Page

SettingTypeDetails
Color schemeColor scheme
Top paddingSliderFrom 0px to 120px
Default: 48px
Bottom paddingSliderFrom 0px to 120px
Default: 48px

Contact form

SettingTypeDetails
Color schemeColor scheme
HeadingTextDefault: Contact form
Top paddingSliderFrom 0px to 120px
Default: 0px
Bottom paddingSliderFrom 0px to 120px
Default: 64px

Blog posts

SettingTypeDetails
Color schemeColor scheme
Articles per pageSliderFrom 3 to 24
Default: 9
Top paddingSliderFrom 0px to 120px
Default: 48px
Bottom paddingSliderFrom 0px to 120px
Default: 64px

Blog post

SettingTypeDetails
Color schemeColor scheme
Show authorCheckboxDefault: On
Top paddingSliderFrom 0px to 120px
Default: 48px
Bottom paddingSliderFrom 0px to 120px
Default: 64px

Page not found

SettingTypeDetails
Color schemeColor scheme

Password

SettingTypeDetails
Color schemeColor scheme
HeadingTextDefault: Opening soon
Show email signupCheckboxDefault: On