Skip to content

Layout Sections ​

These sections appear on every page via theme.liquid and control the site-wide chrome. theme.liquid renders three layout sections: Announcement Bar, Header and Footer.

Sticky header

On every template except product pages, the announcement bar and header are wrapped in the stickyonscroll Vue component, so they stick to the top while scrolling. On product pages they scroll away with the page.

Announcement Bar ​

File: shopify/sections/layout-announcement-bar.liquidVue component: announcement-bar

A rotating promo banner that sits above the header. Uses Keen Slider for auto-rotation. The same entries are also published to window.Shopify.announcement, which the cart drawer uses when its own cart announcements are empty.

Section Settings ​

SettingTypeDefault
visiblecheckboxfalse
home_page_onlycheckboxtrue
autoplaycheckboxtrue
timernumber5000 (ms)

Blocks (type: announcement, limit 5) ​

Each announcement block contains:

SettingTypeDescription
announce-textrichtextDesktop announcement text
announcement_text_mobilerichtextMobile announcement text
announcement_linkurlOptional click-through URL

Current Configuration ​

Two announcements are configured:

  1. Shipping closure notice (disabled)
  2. "WELCOME15 for 15% off your first subscription order and free shipping." (active, links to /discount/WELCOME15)

visible: true, home_page_only: false — autoplay every 5 seconds on all pages.

Slider mount point

Keen Slider is attached to the inner slide track, not the outer wrapper (which also holds the arrow buttons). Mounting it on the wrapper breaks the slider on mobile.

File: shopify/sections/layout-header.liquidBackground: Navy (bg-navy) with white text

The header is global. Most of its content (logo, menus, nav banners) is configured in Theme Settings → Header. The section itself only owns the Shop dropdown CTA.

Section settings ​

SettingIDTypeDefaultWhat it does
Shop All button textshop_all_textTextShop AllLabel of the CTA inside the mega-menu's Shop dropdown.
Shop All button URLshop_all_urlURL—Destination of that CTA. Falls back to /collections/shop-all when empty (current).

Where do logo / menus / banners come from?

The logo, main menu, right menu, the Take Our Quiz nav banner and the Find a Store nav banner are all set in Theme Settings → Header, not in this section. See Theme Settings → Header Configuration.

Structure ​

  1. Main navigation (left) — site-navigation Vue component: desktop mega-menu, mobile hamburger menu. Shop dropdown lists products from the menu (helper-nav-shop-products).
  2. Logo — centered, links to /.
  3. Right navigation — right-navigation Vue component (desktop only).
  4. Account icon — links to /pages/account-login for guests and /account for logged-in customers.
  5. Search — Search Vue component (see Search).
  6. Cart — store-cart Vue component: basket icon + cart drawer.

Mega-menu dropdowns and nav banners ​

  • Dropdown columns are 180px wide. A second-level menu item with an empty or # link is rendered as a column heading (small uppercase label, not a link) with its children listed below it.
  • The right side of each desktop dropdown shows up to two banners (545 × 274px area): the Find a Store banner (about_banner_* settings) and the Take Our Quiz banner (product_image1, link_url1).
  • The mobile menu shows the main menu, then a standalone Find a Store item (mobile_nav_item_label, linking to mobile_nav_item_url or the About banner URL), then the right menu, and the quiz banner at the bottom. If about_banner_image_mobile is set, the mobile Find a Store banner image is shown instead of the text item.
  • With show_vet on, the mobile menu shows a Vet Login link instead of the right-menu items.

Responsive behavior ​

  • Desktop (above 1024px): full horizontal nav with mega-menu dropdowns.
  • Mobile / tablet: hamburger + logo + account + search + cart. Navigation opens as a full-height menu from the hamburger.

Legacy variant — layout-header-old.liquid ​

layout-header-old.liquid (with image and menu settings) is a legacy fallback and is not used live. Don't reference it for new work.

Header dropdown: src/vue/components/Search/index.vueResults page: shopify/sections/main-search.liquid via templates/search.json

Header dropdown ​

  • Starts searching once 2 or more characters are typed.
  • Queries /search/suggest.json for products (matching title, product type, variant title and SKU) and articles (up to 5).
  • Each product row shows the ops subname / SKU, title and price, plus a basket button that adds the item straight to the cart (drawn instantly — see instant cart updates).
  • View all results opens the search page with a trailing * wildcard (e.g. /search?q=po*).
  • No results: "No results found" plus View all products → /collections/shop-all.

Search results page ​

  • Shopify's search page only matches whole words ("po" finds nothing, "pork" does). On submit, the form adds a trailing * to the term so partial words match, the same as the dropdown. The * is hidden again in the search field.
  • The count reads "N Results" / "1 Result" on the search page (it includes articles), and "Products" everywhere else.
  • Products use the same layout-product cards as the PLP. Products with custom._hide_product_in_plp = true or the internal_only tag are hidden. Matching blog articles are listed in a grid below.

File: shopify/sections/layout-footer.liquidBackground: Dark blue (bg-darkBlue) with beige text

Section Settings ​

SettingTypeCurrent value
logoimage_pickerFooter logo (SVG)
nametext"My Perfect Pet™" — not rendered (the template reads show_name, which doesn't exist)
addresstext"49 Pioneer Parkway, Sulphur Springs, Texas 75482 U.S.A."
url1_texttext(empty) — phone label
url_phoneurl(empty) — phone link
url2_texttext"Contact Us"
url2urlGorgias help-center contact form (my-perfect-pet.gorgias.help/en-US/contact)
menu_centerlink_listfooter-center ("MENU" column)
menu_rightlink_listfooter-right ("Resources" column)
copyrighttext"My Perfect Pet, Inc." (rendered with a © prefix)

Phone number

On desktop the phone link only renders when both url_phone and url1_text are filled in, so there is never an unlabeled link in the tab order. Both are currently empty, so no phone is shown.

Each social platform has a visibility toggle and URL (all three currently visible):

PlatformVisibility SettingLink Setting
Instagramsocial_instagram_visiblesocial_instagram_link
Facebooksocial_facebook_visiblesocial_facebook_link
YouTubesocial_youtube_visiblesocial_youtube_link

Layout ​

Desktop:

  1. Logo, address, (phone)
  2. MENU links + Contact Us link
  3. Resources links + Accessibility button (when accessibility is on)
  4. Stay up to date — inline Klaviyo signup (Newsletter Vue component, email only, list from klaviyo_id), Follow Us! social icons, © copyright

Mobile: logo, newsletter signup, social icons, Contact Us, Resources, Menu, address/phone and copyright stacked.

Footer links have a 24px minimum tap height.

layout-footer-old.liquid is a legacy fallback and is not used live. Don't edit it for new work.

Not rendered: Mobile Navigation and Scroll CTS ​

These two section files and their settings_data.json entries exist, but theme.liquid doesn't render them:

FilePurposeStatus
layout-mobile-navigation.liquidBottom-fixed mobile bar (Search / Cart / Account / Menu)Not included in theme.liquid
layout-scroll-cts.liquidSticky "SHOP NOW / Take our quiz" bar shown on scrollNot included in theme.liquid

Mobile navigation is in the header's hamburger menu. Editing these sections in the customizer has no effect on the storefront.

Antelope Themes Documentation

Enter the password to access this site.