Skip to content

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.

html
<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 IDTypeLabelDefault
visiblecheckboxShow announcement barfalse
home_page_onlycheckboxShow only on home pagetrue
autoplaycheckboxAutoplaytrue
timernumberTimer (ms)5000

Block: Item Announce ​

Up to 5 blocks of type announcement. Each block has:

Setting IDTypeLabel
announce-textrichtextText (desktop)
announcement_text_mobilerichtextAnnouncement (mobile) version
announcement_linkurlLink

Current Configuration ​

Two announcement blocks are configured:

  1. Active: "Free shipping on orders over $50" (no link)
  2. 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.announcement array for the Vue component.

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 IDTypeLabelDefaultInfo
imageimage_pickerImage (Logo)--Site logo
menulink_listMenu"main-menu"Navigation menu
fixedcheckboxFixed?trueMakes header sticky on scroll
header_type_twocheckboxHeader type 2falseLogo left, nav after logo
header_type_threecheckboxHeader type 3falseLogo centered, menu split
product_imageimage_pickerProduct Image--Featured product in mega menu
product_texttextareaProduct Text"Daily Thrive is crafted..."Featured product description
text_urltextProduct Url Name"Shop Daily Thrive"CTA text
link_urlurlProduct Url--CTA link

Header Types ​

TypeLayoutBehavior
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 elementsLogo on left, navigation follows, icons on right
Type 3 (header_type_three)Logo absolutely centered, nav split to sidesLogo 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.

When fixed is enabled, CSS makes .header-bar sticky:

css
.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_url for logged-in customers, otherwise routes.account_login_url (see Account Pages).
  • Cart: Rendered via snippets/cart.liquid icon with mini-cart sidebar (see Cart & Checkout).
  • Mini-cart single product: snippets/mini-cart-single-product.liquid renders the "Item added" popup below the header. It receives the cart settings (:cart from helper-cart-js) so it can show the free shipping bar.

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:

ResultsQueryShown
Productsresources[type]=product, searched fields: title, product_type, variants.title, variants.sku, tag, bodyUp to 5, with SKU, title, price and a link
Articlesresources[type]=article, limit 5Up to 5 blog posts
  • Products tagged internal_only are 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.

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 IDTypeLabelDefault
headline1textFirst column headline"MENU"
menulink_listFirst column menu--
headline2textSecond column headline"RESOURCES"
menu2link_listSecond column menu--
findtitletextTitle Find"Always Non-Detectable THC"
findtextText Link"Find out more here."
findlinkurlLink--
besttextSocial title"Let's be best friends."
bgimage_pickerBackground image--

Current Configuration ​

SettingValue
Column 1 headline"Menu"
Column 1 menufooter-menu
Column 2 headline"RESOURCES"
Column 2 menufooter-resources
THC messaging"Always Non-Detectable THC"
THC link text"Find out more here."
THC link targetInformatives page
Social title"Let's be best friends."
  1. Left column: Decorative product/brand image (bg setting).
  2. Column 1: Navigation menu links with a headline. The last link in the menu is styled as an underlined CTA with extra top margin.
  3. Column 2: Resources menu links + accessibility widget (if settings.accessibility is enabled).
  4. 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:

javascript
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:

LinkIconRoute
Searchicon-searchroutes.search_url
Carticon-cartroutes.cart_url (with item count badge)
Accounticon-accountroutes.account_url or routes.account_login_url
MenuMobile menu triggerOpens 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).

Antelope Themes Documentation

Enter the password to access this site.