How can I add breadcrumbs to a product page on District theme?

I’m trying to add breadcrumbs when you are on the product page. I tried some other solutions I saw here, like adding some code to the top of product-template, but it didn’t work. I’m using the District theme, I’m not sure if that helps. Thank you in advance.

Hello,

Welcome to the shopify Community.

It seems that I need to enter into your store to do coding.
Would you mind providing me collaborate access so that I can identify the problem?

I’m not the owner of the store so I don’t have the ability to do that. If you saw my product-template.liquid file, would that help?

Please add below code in the beginning of product-template.liquid file

{% unless template == 'index' or template == 'cart' or template == 'list-collections' %}
  
{% endunless %}

Hi @jdn7d ,

If your theme does not show breadcrumbs on your product page. You can try to use this snippet: {% render ‘breadcrumbs’ %}

If you can not do that, you can add me as a staff. I’ll check it for you (my email: jones.evan137@gmail.com)

Thank you, but that didn’t help. For security reasons, I’m not allowed to add anyone to the project. Let me know if you have any other ideas though.

This solution works for me on Narrative theme - thanks a lot for it! :slightly_smiling_face: Is there a way of only making the breadcrumb menu show up on the desktop, and not on the mobile version?

@lenarei Yes, Possible. Please provide your website URL to analyze.

Thanks, the website url is www.olenia.de