Layout Sections
Layout sections appear on every page of the store. They are configured as static sections in settings_data.json under current.sections and can be customized in the Theme Customizer.
Announcement Bar
Section file: sections/layout-announcement-bar.liquid
A rotating promo bar at the top of every page using Keen Slider (<promo> Vue component). When the global accessibility feature is on, the bar also holds the Accessibility button.
Section Settings
| Setting | ID | Type | Default | Description |
|---|---|---|---|---|
| Visible | visible | Checkbox | false | Show/hide the entire announcement bar |
| Home page only | home_page_only | Checkbox | true | Restrict display to homepage only |
Current config: Visible on all pages (visible: true, home_page_only: false).
Blocks: Announcement (limit 5)
| Setting | ID | Type | Description |
|---|---|---|---|
| Text | announce-text | Rich text | Announcement message |
| Mobile text | announcement_text_mobile | Rich text | Mobile version of the message (stored and pushed to window.Shopify.announcement) |
| Link | announcement_link | URL | Optional click-through URL |
Blocks have no audience targeting -- every active announcement shows to all visitors.
Current announcements (Theme A):
- "FREE SHIPPING ON ORDERS $35+" -- active
- "15% of sales support animals impacted by LA fires" -- disabled
- "Free Gift when you spend $50+" (links to Shop All) -- disabled
Accessibility Button
When the global accessibility setting is enabled (Theme Settings > Accessibility Settings), an <accesibility> Vue button (label from textbutton, currently "Accessibility") renders at the right of the bar on desktop and inline on mobile. It opens the Accessibility panel.
Header
Section file: sections/layout-header.liquid
The main site header with a 9-column grid layout: left navigation (4 cols), center logo (1 col), right navigation + actions (4 cols).
Section Settings
| Setting | ID | Type | Description |
|---|---|---|---|
| Left side menu | menu-left | Link list | Desktop left navigation |
| Right side menu | menu-right | Link list | Desktop right navigation |
| Mobile menu | menu-mobile | Link list | Mobile navigation menu |
Current config:
- Left menu:
main-menu - Right menu:
main-menu-right - Mobile menu:
mobile-menu
Where to configure menus: Shopify Admin > Online Store > Navigation
Blocks: Menu Column Image (limit 12)
Images can be assigned to mega menu columns:
| Setting | ID | Type | Description |
|---|---|---|---|
| Hide Column title | hideTitle | Checkbox | Hide the column title on desktop (default: true) |
| Link label | label | Text | Image link label |
| Link URL | url | URL | Image click destination |
| Image | image | Image picker | Column image |
| Link handle | handle | Text | Used to match block to the correct menu column |
Header Components
The header renders several Vue components:
<mobilemenu>-- Mobile slide-out menu, receives menu data fromhelper-mobilemenusnippet<mega-menu>-- Desktop mega menu with column images, receives data fromhelper-megamenu-jssnippet<autocomplete>-- Header search (Shopify predictive search, see Search)<cart>-- Mini cart icon with slide-out drawer (see Cart & Checkout)
Logo
The logo uses a static SVG asset (Logo-mobile.static.svg) for mobile and is rendered as an image tag. On desktop, a larger logo is displayed via the mega menu or layout. The logo links to the homepage.
Actions Menu (right side)
- Profile icon (desktop only) -- links to
/accountwhen logged in, or to the Account Login hub at/pages/account-loginwhen logged out - Search icon --
<autocomplete>predictive search - Cart icon -- Vue
<cart>component. Props::cart(fromhelper-cart-js),upsale_products(fromhelper-upsale-products+settings.upsale) and:anouncements(the two cart announcement settings). GWP products are passed through the#gwplistslot
Search (Predictive)
Component: src/vue/components/Search/Autocomplete.vue (<autocomplete>) · Section: sections/predictive-search.liquid
The header search icon opens an input (400px wide on desktop, full width on mobile) backed by Shopify predictive search:
- After 2+ characters and a 250 ms debounce, the component fetches
/search/suggest?q=...§ion_id=predictive-search&resources[type]=product,article&resources[limit]=5 predictive-search.liquidrenders the dropdown rows server-side: products (image, title with variant, price, add-to-cart button) and blog posts- Products tagged
internal_only/algolia-ignoreare skipped - Pressing Enter goes to
/search?q=<term>*&type=product,article-- the trailing*lets the results page match partial words the way the dropdown does - A "previously viewed" product list shows when the input is empty
Why a rendered section and not /search/suggest.json
The JSON endpoint returns variants: [] for this store, and each row needs a variant for its title and add-to-cart button. Rendering the section gives full Liquid access in one request.
Blog search: blog listing pages (main-blog, main-blog-old) use <autocompleteblog> (src/vue/components/Search/AutocompleteBlog.vue), which queries /search/suggest.json for articles only.
The full results page is documented in Collection Pages > Search Results Page.
Footer
Section file: sections/layout-footer.liquid
Full-width navy (bg-navy) footer with newsletter signup, navigation links, social icons, large logo, and copyright.
Section Settings
| Setting | ID | Type | Description |
|---|---|---|---|
| Heading | heading | Text | Newsletter section heading |
| Caption | caption | Text | Newsletter description text |
| Label | label | Text | Social links section label |
| Nickname | nickname | Text | Social media handle display |
Current config:
- Heading: "Be the first to know"
- Caption: "About our special offers, news, and updates."
- Label: "Follow Us"
- Nickname: "@antelopepets"
Footer Structure
Navigation columns -- Pulls from three Shopify link lists:
footer-- Main footer linksservice-- Service/support links (includes the Accessibility entry, see below)user-info-- User information links
Newsletter signup -- Dual implementation:
- Klaviyo embedded form (
klaviyo-form-VbrkhKdiv) - Hidden Vue
<Newsletter>component as fallback, submitting to the global Klaviyo list ID
- Klaviyo embedded form (
Social links -- Instagram, TikTok, YouTube icons in white circles linking to:
shop.brand.metafields.social_links.instagram.valueshop.brand.metafields.social_links.tiktok.valueshop.brand.metafields.social_links.youtube.value
Footer logo -- Full-width
blue-logo.static.svgCopyright -- Links from
copyright-menulink list + dynamic year + shop name
Accessibility Link in the Footer
When settings.accessibility is on, the service column gets an accessibility entry that opens the accessibility panel instead of navigating:
- If the
servicemenu already contains a link whose URL includesaccessibility, that link is replaced by an<accesibility>button using the link's title - Otherwise a button labelled with
textbutton("Accessibility") is appended to the column
Accessibility Widget
Component: src/vue/components/Accesibility/index.vue (<accesibility>)
A built-in accessibility panel (slide-out, "Accessibility Settings"), the same on Theme A and Theme B. Options:
| Option | Effect |
|---|---|
| Increase Text Size | Cycles text size (110% / 125%) |
| High Contrast Mode | Cycles contrast filter (50% / 150%) |
| Dyslexia-Friendly Font | Switches the whole site to OpenDyslexic (src/fonts/open-dyslexic.ttf, family Dyslexic) |
| Reduce Animations | Adds reduce-motion to html |
| Highlight Keyboard Focus | Adds focus-highlight to html |
Choices are saved in localStorage (acc-settings) and re-applied on every page. The panel footer has a Reset Settings button and an Accessibility Statement link to /pages/accessibility. The browser's prefers-contrast preference pre-selects the contrast level.
Where to configure: Theme Settings > Accessibility Settings (accessibility, textbutton). Entry points: announcement bar button and footer service column.
The Accessibly app embed is present in settings_data.json but disabled on both themes; this panel is the site's accessibility widget.
Mobile Navigation
Section file: sections/layout-mobile-navigation.liquid
A bottom navigation bar for mobile with four action buttons:
| Action | Icon | Destination |
|---|---|---|
| Search | icon-search | Search page |
| Cart | icon-cart | Cart page (with item count badge) |
| Account | icon-account | /account when logged in, otherwise the Shopify login URL (not the Account Login hub) |
| Menu | icon-menu | Toggles mobile menu ($store.dispatch('mobile-menu/toggle')) |
This section has no configurable settings. The mobile menu content is controlled by the menu-mobile link list configured in the header section.