Skip to content

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 ​

SettingIDTypeDefaultDescription
VisiblevisibleCheckboxfalseShow/hide the entire announcement bar
Home page onlyhome_page_onlyCheckboxtrueRestrict display to homepage only

Current config: Visible on all pages (visible: true, home_page_only: false).

Blocks: Announcement (limit 5) ​

SettingIDTypeDescription
Textannounce-textRich textAnnouncement message
Mobile textannouncement_text_mobileRich textMobile version of the message (stored and pushed to window.Shopify.announcement)
Linkannouncement_linkURLOptional click-through URL

Blocks have no audience targeting -- every active announcement shows to all visitors.

Current announcements (Theme A):

  1. "FREE SHIPPING ON ORDERS $35+" -- active
  2. "15% of sales support animals impacted by LA fires" -- disabled
  3. "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.


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 ​

SettingIDTypeDescription
Left side menumenu-leftLink listDesktop left navigation
Right side menumenu-rightLink listDesktop right navigation
Mobile menumenu-mobileLink listMobile 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:

SettingIDTypeDescription
Hide Column titlehideTitleCheckboxHide the column title on desktop (default: true)
Link labellabelTextImage link label
Link URLurlURLImage click destination
ImageimageImage pickerColumn image
Link handlehandleTextUsed to match block to the correct menu column

Header Components ​

The header renders several Vue components:

  • <mobilemenu> -- Mobile slide-out menu, receives menu data from helper-mobilemenu snippet
  • <mega-menu> -- Desktop mega menu with column images, receives data from helper-megamenu-js snippet
  • <autocomplete> -- Header search (Shopify predictive search, see Search)
  • <cart> -- Mini cart icon with slide-out drawer (see Cart & Checkout)

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 /account when logged in, or to the Account Login hub at /pages/account-login when logged out
  • Search icon -- <autocomplete> predictive search
  • Cart icon -- Vue <cart> component. Props: :cart (from helper-cart-js), upsale_products (from helper-upsale-products + settings.upsale) and :anouncements (the two cart announcement settings). GWP products are passed through the #gwplist slot

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=...&section_id=predictive-search&resources[type]=product,article&resources[limit]=5
  • predictive-search.liquid renders the dropdown rows server-side: products (image, title with variant, price, add-to-cart button) and blog posts
  • Products tagged internal_only / algolia-ignore are 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.


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 ​

SettingIDTypeDescription
HeadingheadingTextNewsletter section heading
CaptioncaptionTextNewsletter description text
LabellabelTextSocial links section label
NicknamenicknameTextSocial media handle display

Current config:

  • Heading: "Be the first to know"
  • Caption: "About our special offers, news, and updates."
  • Label: "Follow Us"
  • Nickname: "@antelopepets"
  1. Navigation columns -- Pulls from three Shopify link lists:

    • footer -- Main footer links
    • service -- Service/support links (includes the Accessibility entry, see below)
    • user-info -- User information links
  2. Newsletter signup -- Dual implementation:

    • Klaviyo embedded form (klaviyo-form-VbrkhK div)
    • Hidden Vue <Newsletter> component as fallback, submitting to the global Klaviyo list ID
  3. Social links -- Instagram, TikTok, YouTube icons in white circles linking to:

    • shop.brand.metafields.social_links.instagram.value
    • shop.brand.metafields.social_links.tiktok.value
    • shop.brand.metafields.social_links.youtube.value
  4. Footer logo -- Full-width blue-logo.static.svg

  5. Copyright -- Links from copyright-menu link list + dynamic year + shop name

When settings.accessibility is on, the service column gets an accessibility entry that opens the accessibility panel instead of navigating:

  • If the service menu already contains a link whose URL includes accessibility, 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:

OptionEffect
Increase Text SizeCycles text size (110% / 125%)
High Contrast ModeCycles contrast filter (50% / 150%)
Dyslexia-Friendly FontSwitches the whole site to OpenDyslexic (src/fonts/open-dyslexic.ttf, family Dyslexic)
Reduce AnimationsAdds reduce-motion to html
Highlight Keyboard FocusAdds 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:

ActionIconDestination
Searchicon-searchSearch page
Carticon-cartCart page (with item count badge)
Accounticon-account/account when logged in, otherwise the Shopify login URL (not the Account Login hub)
Menuicon-menuToggles 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.

Antelope Themes Documentation

Enter the password to access this site.