Hi,
I'm finding my way around editing code in Shopify and have added breadcrumb navigation to Narrative theme. I'm struggling to find where to put the code for padding the breadcrumb. Can anyone help on this issue while I’m using the breadcrumbs code provided by Shopify https://shopify.dev/tutorials/customize-theme-add-breadcrumbs. Even following all the steps, but nothing has been shown in my website.
Thanks,
Hello
Don't include that on the "theme.liquid"
This must be inserted into the page, "article-template.liquid", "product-template.liquid" blogs, pages...
You can already have it, but it depends on your theme.
Stop! Stop! Stop!
My friend you don't need to paste this whole code listed on your "theme.liquid"
First:
You're going to create a "Snippet" that you're going to name "breadcrumb"
In this file you paste the whole code / <style> and<scrypte>....
After that you go to the page you want and has the place of desire and you paste {% include 'breadcrumb' %}
Just:
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |