Shopify breadcrumbs are the small trail at the top of a page, like Home > Shirts > Linen Shirt. They show shoppers where they are and give them a one-tap way back to the collection. The catch: Shopify’s free themes, Dawn and Horizon, don’t include them at all.
The good news: you can add breadcrumb navigation to every product, collection, blog and page without an app and without editing a single theme file. I have added breadcrumbs to many client stores, and this is the setup I use. The code below is tested in both themes on phone and desktop sizes.
Here is what you will learn:
- Why Dawn and Horizon show no breadcrumbs, and what they really do for SEO
- How to add Shopify breadcrumbs to every page with one Custom Liquid section
- How to make product breadcrumbs show the right collection
- How to add BreadcrumbList structured data without duplicates
- How to keep the trail clean on mobile, plus the mistakes I see most
What Shopify breadcrumbs are, and why Dawn and Horizon have none
A breadcrumb is a short list of links that shows a page’s place in your store. On a product page, it usually reads Home, then the collection, then the product. Each step except the last one is a link.
Dawn and Horizon don’t include breadcrumb navigation. I checked the source code of both themes on GitHub in November 2026 (Dawn 16.2.0 and Horizon 4.5.0). Neither has a breadcrumb section, block, setting or snippet. So if your store runs one of them and you see no trail, nothing is broken. It was never there.
Some other themes do have a breadcrumb option. Before you add code, open Theme settings and the product page sections in your theme editor and look for it. If your theme has one, use that. My Dawn vs Horizon comparison covers what else each free theme has and lacks.
Do breadcrumbs help SEO? What
Google actually says
Breadcrumbs mainly help shoppers. Their search benefit is limited and not guaranteed. Google’s own guide says a breadcrumb trail “may help users understand and explore a site effectively.” That is the honest main benefit: fewer dead ends and an easy path back to the collection.
For search, there are three facts worth knowing:
- Google reads the BreadcrumbList markup to understand where a page sits in your store. Its breadcrumb documentation explains the format.
- The trail shows on desktop results only. On January 23, 2025, Google stopped showing breadcrumbs in mobile search results. Mobile results now show the domain only.
- There is no ranking promise. Google says it does not guarantee that structured data features will show. The links do give shoppers and crawlers one more path to your collection pages.
So add breadcrumbs because they make your store easier to use. Treat any search benefit as a bonus, not a reason.
Which way should you use to add breadcrumbs?
For Dawn and Horizon, the best free way is one Custom Liquid section in the Header area. This table compares it with the other four options.
| Way | Code? | Pages covered | Cost | Best for |
|---|---|---|---|---|
| Theme setting | No | Set by theme | Free | Themes that have one |
| Custom Liquid in Header | Paste only | All pages | Free | Dawn and Horizon |
| Custom Liquid per template | Paste only | Chosen pages | Free | Product pages only |
| Breadcrumb app | No | Depends on app | Free or paid | Deep category trees |
| Edit theme files | Yes | All pages | Free | Developers |
I use the Header section on client stores for a simple reason. Shopify’s help center confirms the header is shared across all pages, so one section covers your whole store. You paste the code once, and you don’t edit any theme file that a theme update could overwrite.
How to add Shopify breadcrumbs without an app
You add one Custom Liquid section to the Header area and paste the code. The steps are the same in Dawn and Horizon, and it takes about ten minutes.
Step 1: Duplicate your theme
Work on a copy first. In your Shopify admin, go to Online Store, then Themes. Click the … button next to your theme and choose Duplicate. Make your changes on the copy, check them, then publish it.
Step 2: Add a Custom Liquid section to the Header
- Click Edit theme on your copy.
- In the left sidebar, find the Header area at the top. It holds your announcement bar and header.
- Click Add section inside the Header area and choose Custom Liquid.
- Drag the new section so it sits below the Header section.
- Paste the code from Step 3 into the Liquid code box.
- In Dawn, set Top and Bottom under Padding to 0. Dawn starts this section at 40 px and 52 px, which leaves a big gap. Horizon starts at 0, so you can skip this.
- Click Save.

Shopify’s guide to customizing sections in the theme editor explains the Header, Template and Footer areas if your sidebar looks different.
Step 3: Paste the breadcrumb code
Copy this code into the Liquid code box. It builds the visible trail and the matching BreadcrumbList data from the same values, so the two always agree.
{%- liquid
assign home_label = 'Home'
assign collections_label = 'Collections'
assign mid_name = ''
assign mid_url = ''
assign current = ''
case request.page_type
when 'product'
assign bc_col = collection
unless bc_col
assign bc_col = product.metafields.custom.breadcrumb_collection.value
endunless
unless bc_col
for c in product.collections
if c.handle != 'all' and c.handle != 'frontpage'
assign bc_col = c
break
endif
endfor
endunless
if bc_col
assign mid_name = bc_col.title
assign mid_url = bc_col.url
endif
assign current = product.title
when 'collection'
if current_tags.size > 0
assign mid_name = collection.title
assign mid_url = collection.url
assign current = current_tags | join: ' + '
else
assign current = collection.title
endif
when 'list-collections'
assign current = collections_label
when 'blog'
if current_tags.size > 0
assign mid_name = blog.title
assign mid_url = blog.url
assign current = current_tags | join: ' + '
else
assign current = blog.title
endif
when 'article'
assign mid_name = blog.title
assign mid_url = blog.url
assign current = article.title
when 'page'
assign current = page.title
endcase
-%}
{%- if current != blank -%}
<nav class="bc page-width" aria-label="Breadcrumb">
<ol class="bc__list">
<li class="bc__item"><a class="bc__link" href="{{ routes.root_url }}">{{ home_label }}</a></li>
{%- if mid_url != blank -%}
<li class="bc__item"><a class="bc__link" href="{{ mid_url }}">{{ mid_name | escape }}</a></li>
{%- endif -%}
<li class="bc__item"><span class="bc__link" aria-current="page">{{ current | escape }}</span></li>
</ol>
</nav>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": {{ home_label | json }}, "item": {{ request.origin | append: routes.root_url | json }} },
{%- if mid_url != blank %}
{ "@type": "ListItem", "position": 2, "name": {{ mid_name | json }}, "item": {{ request.origin | append: mid_url | json }} },
{%- endif %}
{ "@type": "ListItem", "position": {% if mid_url != blank %}3{% else %}2{% endif %}, "name": {{ current | json }} }
]
}
</script>
<style>
.bc { min-width: 0; }
.bc__list { display: flex; align-items: center; margin: 0; padding: 10px 0; list-style: none; font-size: 14px; line-height: 1.4; }
.bc__item { display: flex; align-items: center; flex: none; min-width: 0; max-width: 45%; }
.bc__item:last-child { flex: 0 1 auto; max-width: none; }
.bc__item + .bc__item::before { content: ""; flex: none; width: 6px; height: 6px; margin: 0 12px 0 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.bc__link { display: block; min-width: 0; padding: 4px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: inherit; text-decoration: none; }
a.bc__link:hover { text-decoration: underline; }
.bc__item:last-child .bc__link { opacity: 0.75; }
</style>
{%- endif -%}Want “Home” in another language? Change the words in the home_label and collections_label lines at the top, for example to “Startseite” for a German store.
What the breadcrumb navigation shows on each page
- Product: Home, then a collection, then the product name.
- Collection: Home, then the collection. With a tag filter, the tag is added at the end.
- Blog and blog post: Home, then the blog, then the post title.
- Normal page: Home, then the page title, such as “About us”.
- Home page, cart, search and account pages: nothing. A trail there would only add clutter.
Open a product, a collection and a blog post in the preview and check each trail before you publish.
Show the right collection on product breadcrumbs
Product breadcrumbs can only show the shopper’s collection if the theme passes it along, and Dawn and Horizon don’t. That is why “Why don’t my Shopify breadcrumbs show the collection?” is the question I get most.
Shopify only knows which collection a shopper came from when the product address includes it, like /collections/shirts/products/linen-shirt. Shopify’s developer docs explain that a product page gets the collection object when the address includes the collection. Dawn and Horizon link product cards to the plain /products/linen-shirt address. So on a product page, the theme has no idea which collection the shopper was browsing.
My code solves this in three steps:
- If the address includes a collection, it uses that one.
- If not, it uses the collection you picked for that product in a metafield (set up below).
- If you picked none, it uses the first collection the product belongs to, skipping the automatic collections with the handles all and frontpage.
Shopify doesn’t promise any order for a product’s collections. So the third step might pick “Sale” or “New in”. For your main products, set the collection yourself.
Choose the breadcrumb collection for each product
- In your Shopify admin, go to Products and open any product.
- In the Metafields section, click Add definition.
- In Name, type Breadcrumb collection. Check that Namespace and key reads custom.breadcrumb_collection.
- Click Select type and choose Collection. Keep One value.
- Click Save.
- Back on each product, click the new Breadcrumb collection field, pick the collection and save.

You may read advice to change your product links with Shopify’s within filter so every product address includes a collection. I don’t recommend it for most stores. It means editing theme files, and Shopify’s own docs warn that it creates the same product page on several addresses, which has SEO effects you need to think through.
Add BreadcrumbList structured data without duplicates
BreadcrumbList is the structured data that describes your trail to search engines. The code above already adds it. It follows Google’s rules: at least two items, each with a position and a name, and a link on every item except the current page.
Now make sure you don’t send two trails. Dawn and Horizon add their own data for products (Product or ProductGroup), blog posts (Article) and your business (Organization). Neither adds BreadcrumbList, so there is no clash with the theme. The risk comes from apps. Some SEO apps and breadcrumb apps add their own BreadcrumbList.
- Open a product page on your live store.
- Press Ctrl + U (on a Mac, Option + Command + U) to view the page source.
- Press Ctrl + F and search for BreadcrumbList.
- One result means you are done. Two or more means another tool adds a trail too.
Google’s guide shows that a page can have more than one trail, so two copies won’t break anything. But two copies add nothing, and two different trails confuse. If an app adds one, turn off its breadcrumb option, or delete the <script> part of my code and keep the app’s version.

Then test one product page in Google’s Rich Results Test. It should list breadcrumbs as a detected item with no errors. After you publish, the breadcrumbs report in Search Console shows any errors across your store.
Make breadcrumb navigation work on phones
On phones, the trail should stay on one line. Otherwise a long product name wraps onto two or three lines and pushes your product photo down. The code handles this for you:
- Long names get cut with “…” The product name shrinks first. The collection name can take up to 45% of the width, so it stays readable.
- Taps are easy. Each link is 28 px tall, above the 24 px minimum in the accessibility rules (WCAG 2.2).
- Screen readers get a clean trail. The trail sits in a labeled navigation area, the current page is marked, and the arrows are drawn with CSS, so nobody hears “greater than” read out loud.

I tested the code at 360, 390 and 1280 px wide with both themes’ real stylesheets. The trail lines up with the page content and never makes the page scroll sideways. For more on accessible stores, see my Shopify accessibility guide.
Common mistakes with Shopify breadcrumbs
- Two trails on one page. This happens when you add the section to the Header and to a product template too. Keep one.
- A big empty gap. Dawn’s Custom Liquid section starts with 40 px and 52 px of padding. Set both to 0.
- The wrong collection. The fallback picks the first collection Shopify returns. Set the breadcrumb collection metafield on your main products.
- A hidden trail in Horizon. If you turned on Transparent background for the header on product or collection pages, check that the trail is readable. If not, add the section to the top of that template instead of the Header.
- Breadcrumbs that copy the web address. Google recommends a trail that matches how people really browse, not your URL structure. That is why the code shows the collection, not “Products”.
- Too many apps. A breadcrumb app adds code to every page. My Shopify speed guide explains why fewer apps usually means a faster store.
Not sure what else your store is missing? My free Shopify store audit tool checks the basics in a few minutes. You can find more in my free Shopify tools.
Related guides
- Shopify mega menu: set it up in Dawn and Horizon without an app.
- Shopify URL redirects: fixes when a redirect doesn't work.
- Shopify complementary products: fix them when they don't show.
- Shopify product tags: what they do and whether they help SEO.
Frequently asked questions
How do I add breadcrumbs in the Shopify Dawn theme?
Open the theme editor, click Add section in the Header area, choose Custom Liquid, paste the code from this guide and set the top and bottom padding to 0. Save, and the trail shows on product, collection, blog and normal pages.
Does the Shopify Horizon theme have breadcrumbs?
No. As of November 2026, Horizon has no breadcrumb section, block or setting. The same Custom Liquid section in the Header area works in Horizon, and its padding already starts at 0.
Why are my Shopify breadcrumbs not showing the collection?
Dawn and Horizon link products without the collection in the address, so the product page doesn’t know where the shopper came from. Use a fallback collection or a Collection metafield, as this guide’s code does.
Do breadcrumbs help SEO on Shopify?
They help shoppers move around, and Google uses BreadcrumbList markup for the trail it shows in desktop results. Since January 2025, Google no longer shows breadcrumbs in mobile results. There is no promise of better rankings.
Do I need a Shopify breadcrumbs app?
Not for most stores. An app makes sense if you have deep category levels, like Women, then Tops, then Shirts, and want them built from your menus without code.
Can Shopify breadcrumbs follow my menu structure?
Yes, but it takes more code that loops through your menu links to find the product’s place. For stores with one level of collections, the collection-based trail in this guide is simpler and easier to keep correct.
Breadcrumbs are a small detail, but they help shoppers who land deep in your store find their way around. If you want a cleaner store layout without the guesswork, I can help through my Shopify store redesign service. Message me on WhatsApp and I will take a look.




