{% comment %} Code created by JadePuma Instructions - https://jadepuma.com/blogs/shopify-tutorials/custom-breadcrumbs-in-a-shopify-plus-checkout Last editted - 14Sep22 {% endcomment %} {% if content_for_layout contains 'data-step="contact_information"' %} {% elsif content_for_layout contains 'data-step="shipping_method"' %} {% elsif content_for_layout contains 'data-step="payment_method"' %} {% elsif content_for_layout contains 'data-step="review"' %} {% endif %} {% assign background = '#FDFBF1' %} {% assign green = '#313E2E' %} {% assign orange = '#ff692e' %} {% style %} .bc { margin: 15px 0 0; padding: 0px; list-style-type: none; width: 100%; max-width: 800px; height: 120px; counter-reset: breadcrumb; position: relative; } .bc:before { position: absolute; top: 23px; left: 12.5%; content: ''; width: 75%; height: 1px; background: {{ green }}; } .bc .bc_item { float: left; padding-top: 60px; width: 25%; text-align: center; position: relative; } .bc .bc_item:after { counter-increment: breadcrumb; content: counter(breadcrumb); position: absolute; top: 0px; left: calc(50% - 23px); width: 40px; height: 40px; text-align: center; border: 3px solid {{ green }}; border-radius: 50%; line-height: 40px; background: {{ background }}; } .bc .bc_current:after { background: {{ orange }}; border-color: {{ orange }}; color: white; } .bc .bc_complete:after { background: {{ green }}; color: white; } {% endstyle %}