Layout Sections
The layout sections are rendered in layout/theme.liquid and appear on every page. The structure wraps the announcement bar and header in a sticky .header-bar div, followed by the <main> content area and footer.
<div class="header-bar">
{% section 'layout-announcement-bar' %}
{% section 'layout-header' %}
</div>
<main>{{ content_for_layout }}</main>
{% section 'layout-footer' %}Announcement Bar
Section file: sections/layout-announcement-bar.liquid
A rotating announcement slider using the Keen Slider library with Vue-powered <announcement-bar> component. Displays promotional messages in a green bar (bg-ss3_green) at the top of the page.
Section Settings
| Setting ID | Type | Label | Default |
|---|---|---|---|
visible | checkbox | Show announcement bar | false |
home_page_only | checkbox | Show only on home page | true |
autoplay | checkbox | Autoplay | true |
timer | number | Timer (ms) | 5000 |
Block: Item Announce
Up to 5 blocks of type announcement. Each block has:
| Setting ID | Type | Label |
|---|---|---|
announce-text | richtext | Text (desktop) |
announcement_text_mobile | richtext | Announcement (mobile) version |
announcement_link | url | Link |
Current Configuration
Two announcement blocks are configured:
- Active: "Free shipping on orders over $50" (no link)
- Disabled: "Flash Sale 20% Off Sitewide" (links to
/collections/all)
Settings: visible: true, home_page_only: false, autoplay: true, timer: 5000
Behavior
- If only 1 block exists, it is duplicated to enable the sliding animation.
- Desktop and mobile text variants are rendered separately (hidden/shown with responsive classes).
- Announcements are pushed to
window.Shopify.announcementarray for the Vue component.
Header
Section file: sections/layout-header.liquid
The header supports three layout types controlled by checkbox settings. It renders the logo, navigation, search, account link, and cart icon.
Section Settings
| Setting ID | Type | Label | Default | Info |
|---|---|---|---|---|
image | image_picker | Image (Logo) | -- | Site logo |
menu | link_list | Menu | "main-menu" | Navigation menu |
fixed | checkbox | Fixed? | true | Makes header sticky on scroll |
header_type_two | checkbox | Header type 2 | false | Logo left, nav after logo |
header_type_three | checkbox | Header type 3 | false | Logo centered, menu split |
product_image | image_picker | Product Image | -- | Featured product in mega menu |
product_text | textarea | Product Text | "Daily Thrive is crafted..." | Featured product description |
text_url | text | Product Url Name | "Shop Daily Thrive" | CTA text |
link_url | url | Product Url | -- | CTA link |
Header Types
| Type | Layout | Behavior |
|---|---|---|
| Default (neither checkbox) | 9-column grid: nav (4 cols), logo (1 col), icons (4 cols) | Standard centered logo |
Type 2 (header_type_two) | Flex layout with reordered elements | Logo on left, navigation follows, icons on right |
Type 3 (header_type_three) | Logo absolutely centered, nav split to sides | Logo in center, navigation in two halves |
Current Configuration
The header is currently configured as Type 3 (centered logo, split menu) with:
- Logo:
SS_by_Antelope_Logo.svg - Menu:
main-menu-b-theme - Fixed:
true(sticky) - Featured product image (
Option_1_Sky.jpg) and text "Support your pet's whole-body health, day in and day out." with a "Shop NEW Products" link to the "new" collection.
Sticky Header
When fixed is enabled, CSS makes .header-bar sticky:
.header-bar {
position: sticky;
top: 0;
z-index: 30;
background: #F6EDF0;
}Header Components
- Navigation: Rendered via
snippets/layout-header-navigation-bar.liquid, receives menu, logo, and featured product settings. - Search: Vue-powered
<Search />component (see Header Search below). - Account: Account link --
routes.account_urlfor logged-in customers, otherwiseroutes.account_login_url(see Account Pages). - Cart: Rendered via
snippets/cart.liquidicon with mini-cart sidebar (see Cart & Checkout). - Mini-cart single product:
snippets/mini-cart-single-product.liquidrenders the "Item added" popup below the header. It receives the cart settings (:cartfromhelper-cart-js) so it can show the free shipping bar.
Header Search
Component: src/vue/components/Search/index.vue
The magnifier icon opens a 390px dropdown with a search input. Typing more than 3 characters queries Shopify's predictive search (/search/suggest.json) twice:
| Results | Query | Shown |
|---|---|---|
| Products | resources[type]=product, searched fields: title, product_type, variants.title, variants.sku, tag, body | Up to 5, with SKU, title, price and a link |
| Articles | resources[type]=article, limit 5 | Up to 5 blog posts |
- Products tagged
internal_onlyare filtered out. - Product search also matches tags and description (
tag,body), so searching e.g. an ingredient or concern finds products that only mention it in tags or copy.
Pressing Enter / the full search page is covered in Collection Pages → Search Results Page.
Footer
Section file: sections/layout-footer.liquid
A purple (bg-ss3_purple) footer with a decorative image, three content columns, social links, and a Klaviyo newsletter trigger.
Section Settings
| Setting ID | Type | Label | Default |
|---|---|---|---|
headline1 | text | First column headline | "MENU" |
menu | link_list | First column menu | -- |
headline2 | text | Second column headline | "RESOURCES" |
menu2 | link_list | Second column menu | -- |
findtitle | text | Title Find | "Always Non-Detectable THC" |
find | text | Text Link | "Find out more here." |
findlink | url | Link | -- |
best | text | Social title | "Let's be best friends." |
bg | image_picker | Background image | -- |
Current Configuration
| Setting | Value |
|---|---|
| Column 1 headline | "Menu" |
| Column 1 menu | footer-menu |
| Column 2 headline | "RESOURCES" |
| Column 2 menu | footer-resources |
| THC messaging | "Always Non-Detectable THC" |
| THC link text | "Find out more here." |
| THC link target | Informatives page |
| Social title | "Let's be best friends." |
Footer Layout
- Left column: Decorative product/brand image (
bgsetting). - Column 1: Navigation menu links with a headline. The last link in the menu is styled as an underlined CTA with extra top margin.
- Column 2: Resources menu links + accessibility widget (if
settings.accessibilityis enabled). - Column 3: "Always Non-Detectable THC" info link + social icons (Instagram, Facebook, YouTube) + "Follow Us!" Klaviyo button.
Accessibility Widget
When settings.accessibility is enabled globally, the footer renders an <accesibility> Vue component with the configured button text (settings.textbutton). This opens an "Accessibility Settings" slide-out panel (Increase Text Size, High Contrast Mode, dyslexia-friendly font, Highlight Keyboard Focus, Reduce Animations).
The component imports the slide-out's stylesheet (@hyjiacan/vue-slideout/dist/slideout.css). The footer wrapper around the button adds no padding or smaller mobile font size of its own, so the button matches the other footer links.
Klaviyo Integration
The "Follow Us!" button triggers a Klaviyo popup form via:
window._klOnsite.push(['openForm', '{{ settings.klaviyo_id }}']);Mobile Navigation
Section file: sections/layout-mobile-navigation.liquid
A simple bottom navigation bar for mobile devices with four links:
| Link | Icon | Route |
|---|---|---|
| Search | icon-search | routes.search_url |
| Cart | icon-cart | routes.cart_url (with item count badge) |
| Account | icon-account | routes.account_url or routes.account_login_url |
| Menu | Mobile menu trigger | Opens slide-out menu |
The mobile menu itself is handled by snippets/mobile-menu.liquid and snippets/mobile-menu-trigger.liquid, with JavaScript behavior managed by snippets/helper-theme-menu-js.liquid.
Section Settings
No configurable settings. The section schema only defines the name and CSS class (mobile-navigation).