Add phone number next to cart icon - VENTURE Theme

Highlighted
New Member
6 0 0

Hi,

My store is not live yet - https://jg-plant.myshopify.com/password - Password is jaesti

I would like to add our phone number to the header next to the cart and search icon, I found a thread detailing how to do this, but I couldn't find header.liquid in the edit theme options.

Thanks

0 Likes
Shopify Staff
Shopify Staff
123 0 12

Hi Matthew!

So it's not actually the header.liquid file you are looking for. You will want to find the theme.liquid file in your edit/html section of your theme and from there you will take the following bit of code,  

<span>phone-number</span>

And you will place that directly underneath something that looks like this.

<a href="/cart" class="site-header__link site-header__cart">
  {% include 'icon', name: 'cart' %}
    <span class="icon__fallback-text">{{ 'layout.cart.title' | t }}</span>
    <span class="site-header__cart-indicator {% if cart.item_count == 0 %}hide{% endif%}"></span></a>
<span>phone-number</span>

Let me know if you have any questions.

Your Guru,
Kyle

 

1 Like
New Member
6 0 0

Hi Kyle,

Thanks for this, works perfectly.

0 Likes