How do I add breadcrumbs to Shrine?

My store is built in theme Shrine and I can’t seem to add breadcrumbs to it. I’ve tried to do liquid files and adding to css and so on but nothing works.

Is Shrine totally locked for breadcrumbs? Has anyone added breadcrumbs to the Shrine theme sucessfully?

I’ve added breadcrumbs once before to another store, Refresh theme, no problems there. But now it just won’t work. :frowning:

www.tjakko.se

Hii @PernillaTjakko

Shrine isn’t locked, but it doesn’t have native breadcrumb support like Shopify’s official 2.0 themes (Dawn, Refresh, etc.). That’s why the same code works on Refresh but not on Shrine.

Breadcrumbs can be added but they must be inserted in the correct layout/section file(usually right after the header). Adding a snippet alone or only CSS won’t show anything if it’s placed in the wrong template.

If you want a quick, guaranteed solution, a breadcrumb app works fine with Shrine. Otherwise, you’ll need to manually render a breadcrumb snippet in the main layout or product/collection section used by Shrine.

Thanks

Thanks!

I tried a breadcrumb app but couldn’t get it to work. I uninstalled it and it left me with this junk and I can’t remove it, help!

hey @PernillaTjakko check the previous code that past in your theme file just removed it
feel free if you have any question about it

Hi @PernillaTjakko

I checked in the Shrine theme and breadcrumbs are visible there. Please check in your theme whether the breadcrumb file exists.

Thanks!

I don’t really know where to look? In the code? Where? What does it look like?

And how on earth did you find breadcrumbs in Shrine?? I’m so confused.

Hi @PernillaTjakko

I installed the Shrine theme and checked its preview—breadcrumbs are showing there. Please go to the theme code editor and search for ‘breadcrumbs’ to see if there is any file or code related to it.

Best regards,
Devcoder :laptop: