Hi everyone I have a store that is using the old 2.0 third party theme from out of the sandbox called turbo. I’m still running on Shopify 1.0 for now and I’m wondering I have my very top bar where the center of it has My free shipping verbage and then of course over to the right is where you would find the cart icon the wish list icon. In the very top left of that bar there is no verbage and I want to add something there just a little statement and I’m curious how would I be able to do that because from what I can tell the turbo theme is all based on code or at least that’s how my designer did it. It’s not a standard drag and drop like some of the Shopify basic themes. So I think I need to add code somewhere on the back end I just need to know where would it go? I’m thinking it would go in the theme.liquid file but I would also need the code to insert there so that I can just add in the verbage of what I want it to say there. Any help would be really appreciated.
Please share store URL.
Hi @Focused4ever ,
Can you share url store url
Hey all, it is www.focalimagedesigns.net and the store pw is hoZ@0743.
Does everyone in this message chain get this reply I did on yours or do I have to reply all separately?
Hi @Focused4ever ,
Can you let us know where you want to add the text
Yes that is the exact spot that I want to add my store phone number. Thanks so much!
The very top left of the site. See photo above in the message chain. Thanks
@Focused4ever you need to share announcement.liquid file code then I can review and add code in it for phone no. You can share files code as well.
I am so sorry I thought I responded to this. I could not find a specific file labeled what you said but when I did a search I found the word announcement about 3/4 of the way down this code maybe a bit further. Could this be what you need? Also is there a way to get this to match the font FREE SHIPPING like in the middle of the that header but maybe a little larger? Also the phone number I want there is 1 (833) 89-DECOR (33267) Thanks so much for your help!
{% comment %}** Header - default view **
- Static section
{% endcomment %}
{% comment %}Mobile navigation{% endcomment %}
{% if section.settings.promo_text != blank %}-
{% include 'mobile-menu' with section.settings.main_linklist %}
{% include 'mobile-menu' with section.settings.main_linklist2 %}
{% include 'mobile-menu' with section.settings.top_bar_menu %}
{% if section.settings.phone_number != blank %}
- {{ section.settings.phone_number }} {% endif %}
- {{ customer.name }}
- {{ 'layout.customer.log_out' | t | customer_logout_link }} {% else %}
- {{ 'layout.customer.log_in' | t | customer_login_link }} {% endif %} {% endif %} {% if settings.show_multiple_currencies %}
- {% include 'currencies-switcher' %} {% endif %}
{% if shop.customer_accounts_enabled %}
{% if customer %}
{% if template contains “index” %}
{% assign feature_image = true %}
{% elsif template contains “collection” %}
{% assign feature_image = true %}
{% elsif template contains “blog” %}
{% assign feature_image = true %}
{% elsif template contains “article” %}
{% assign feature_image = true %}
{% elsif template contains “contact” %}
{% assign feature_image = true %}
{% elsif template contains “details” %}
{% assign feature_image = true %}
{% else %}
{% assign feature_image = false %}
{% endif %}
{% comment %}Main navigation{% endcomment %}
-
{% if section.settings.phone_number != blank %}
- {{ section.settings.phone_number }} {% endif %} {% if section.settings.promo_text2 != blank %}
- {{ section.settings.promo_text2 }} {% endif %} {% if section.settings.top_bar_menu != blank %} {% for link in linklists[section.settings.top_bar_menu].links %}
- {{ link.title }} {% endfor %} {% endif %}
{{ 'layout.general.empty_cart' | t }}
-
{% assign total_saving = 0 %}
{% for item in cart.items %}
{% if item.variant.compare_at_price > item.variant.price %}
{% assign saving = item.variant.compare_at_price | minus: item.variant.price | times: item.quantity %}
{% assign total_saving = saving | plus: total_saving %}
{% endif %}
-
{% if item.image %}
{% endif %} {% if item.price < item.variant.compare_at_price %} {{ item.variant.compare_at_price | money }} {% endif %}
{{ item.price | money }}
{% endfor %}
- {{ cart.total_price | money }} {{ 'layout.general.subtotal' | t }} {% if settings.display_savings %}
- {% if total_saving > 0 %} {{ total_saving | money }} {{ 'layout.general.savings' | t }} {% endif %} {% endif %}
-
{% if settings.display_special_instructions and settings.go_to_checkout %}
{{ cart.note }}
{% endif %}
{% if settings.display_tos_checkbox and settings.go_to_checkout %}
{{ 'cart.general.agree_to_terms_html' | t }} {% if settings.tos_page != blank %} {{ 'cart.general.view_terms' | t }} {% endif %}
{% endif %}{% if settings.cart_message != blank %}
{{ settings.cart_message }}{% endif %}{% if settings.go_to_checkout %}
{% if settings.show_lock_icon %}{% endif %}{{ ‘layout.general.checkout’ | t }}
{% else %}
{% if settings.show_lock_icon %}{% endif %}{{ ‘layout.general.go_to_cart’ | t }}
{% endif %}
-
{% if settings.show_multiple_currencies %}
- {% include 'currencies-switcher' %} {% endif %} {% if shop.customer_accounts_enabled %}
- {% if customer %}{{ 'layout.customer.my_account' | t }}{% else %}{{ 'layout.customer.log_in' | t }}{% endif %}
- {% endif %}
{% assign vertical_menu = section.settings.vertical_menu %}
{% capture menu_left %}
{% if vertical_menu %}
{% include ‘vertical-menu’ with section.settings.main_linklist %}
{% else %}
{% include ‘menu’ with section.settings.main_linklist %}
{% endif %}
{% endcapture %}
{% capture menu_right %}
{% if vertical_menu %}
{% include ‘vertical-menu’ with section.settings.main_linklist2 %}
{% else %}
{% include ‘menu’ with section.settings.main_linklist2 %}
{% endif %}
{% if section.settings.search_enabled %}
{% if section.settings.logo_position == “left” or section.settings.menu_position == “block” %}
{{ logo }}
-
{{ menu_left }}
{{ menu_right }}
-
{{ menu_left }}
-
{{ menu_right }}
div.logo img {
max-width: {{ section.settings.logo_display_width }}px;
}
.nav {
{% if section.settings.menu_position == “block” %}
width: 100%;
clear: both;
{% elsif section.settings.logo_position == “left” %}
width: 84%;
float: left;
{% else %}
width: 42%;
float: left;
{% endif %}
}
{% if section.settings.menu_top_padding %}
.nav ul.menu {
padding-top: {{ section.settings.menu_top_padding }}px;
padding-bottom: {{ section.settings.menu_top_padding }}px;
}
.sticky_nav ul.menu, .sticky_nav .mini_cart {
padding-top: {{ section.settings.menu_top_padding | divided_by: 2 }}px;
padding-bottom: {{ section.settings.menu_top_padding | divided_by: 2 }}px;
}
{% endif %}
{% unless section.settings.show_cart %}
header .top_bar .icon-search {
right: 15px;
}
{% endunless %}
{% if section.settings.fixed_header == false %}
@media only screen and (max-width: 798px) {
.header-section {
position: absolute;
top: 0;
left: 0;
width: 100%;
}
}
{% else %}
body {
overscroll-behavior-y: none;
}
{% endif %}
{% schema %}
{
“name”: “Header”,
“class”: “header-section”,
“settings”: [
{
“type”: “header”,
“content”: “Announcement bar”
},
{
“type”: “richtext”,
“id”: “promo_text”,
“label”: “Text”,
“info”: “Maximum character limit is 170”
},
{
“type”: “header”,
“content”: “Top bar”
},
{
“type”: “checkbox”,
“id”: “social_icons_header”,
“label”: “Show social media header icons”,
“default”: true
},
{
“type”: “text”,
“id”: “phone_number”,
“label”: “Phone number”,
“info”: “1-800-555-5555”
},
{
“type”: “richtext”,
“id”: “promo_text2”,
“label”: “Text”,
“info”: “Maximum character limit is 70”
},
{
“type”: “link_list”,
“id”: “top_bar_menu”,
“label”: “Top bar menu”,
“info”: “This menu won’t show drop-down items”
},
{
“type”: “select”,
“id”: “cart_icon”,
“label”: “Cart icon”,
“options”: [
{
“value”: “cart”,
“label”: “Cart”
},
{
“value”: “bag”,
“label”: “Bag”
}
],
“default”: “cart”
},
{
“type”: “checkbox”,
“id”: “show_cart”,
“label”: “Show cart”,
“default”: true
},
{
“type”: “header”,
“content”: “Logos”
},
{
“type”: “range”,
“id”: “logo_display_width”,
“label”: “Logo display width”,
“step”: 5,
“min”: 105,
“max”: 250,
“default”: 205,
“unit”: “px”
},
{
“type”: “image_picker”,
“id”: “logo”,
“label”: “Logo”,
“info”: “400 x 100px recommended”
},
{
“type”: “image_picker”,
“id”: “logo_home”,
“label”: “Secondary logo over content (optional)”,
“info”: “400 x 100px recommended”
},
{
“type”: “image_picker”,
“id”: “logo_mobile”,
“label”: “Mobile logo”,
“info”: “100 x 50px recommended”
},
{
“type”: “header”,
“content”: “Menus”
},
{
“type”: “link_list”,
“id”: “main_linklist”,
“label”: “Main menu”
},
{
“type”: “link_list”,
“id”: “main_linklist2”,
“label”: “Secondary menu”
},
{
“type”: “checkbox”,
“id”: “vertical_menu”,
“label”: “Enable vertical menus”,
“default”: false
},
{
“type”: “header”,
“content”: “Search”
},
{
“type”: “checkbox”,
“id”: “search_enabled”,
“label”: “Show search”,
“default”: true
},
{
“type”: “header”,
“content”: “Layout”
},
{
“type”: “checkbox”,
“id”: “fixed_header”,
“label”: “Fixed (‘sticky’) header”,
“default”: true
},
{
“type”: “select”,
“id”: “logo_position”,
“label”: “Logo position”,
“info”: “Applies when menu position has been set to ‘Inline with logo’”,
“options”: [
{
“value”: “left”,
“label”: “Left”
},
{
“value”: “center”,
“label”: “Center”
}
],
“default”: “center”
},
{
“type”: “select”,
“id”: “logo_alignment”,
“label”: “Logo alignment”,
“info”: “Applies when menu position has been set to ‘Under logo’”,
“options”: [
{
“value”: “left”,
“label”: “Left”
},
{
“value”: “center”,
“label”: “Center”
}
],
“default”: “center”
},
{
“type”: “select”,
“id”: “menu_position”,
“label”: “Menu position”,
“options”: [
{
“value”: “inline”,
“label”: “Inline with logo”
},
{
“value”: “block”,
“label”: “Under logo”
}
],
“default”: “inline”
},
{
“type”: “select”,
“id”: “menu_alignment”,
“label”: “Menu alignment”,
“options”: [
{
“value”: “align_left”,
“label”: “Left”
},
{
“value”: “center”,
“label”: “Center”
},
{
“value”: “align_right”,
“label”: “Right”
}
],
“default”: “align_left”
},
{
“type”: “range”,
“id”: “logo_top_padding”,
“label”: “Logo top padding (?)”,
“min”: 0,
“max”: 30,
“default”: 10,
“unit”: “px”
},
{
“type”: “range”,
“id”: “menu_top_padding”,
“label”: “Main menu top padding (?)”,
“min”: 0,
“max”: 30,
“default”: 0,
“unit”: “px”
}
]
}
{% endschema %}
Did the code i shared help anyone? IS it the correct code?
Hello, I shared the code will you be able to help me now?
