Hello,
Im putting the footer code below, I’m not sure how to change that attribute
to stop the tabs opening on another sheet can you please advise? Thank you
:root
{–footer-bg:{{section.settings.background}};–footer-bg-bot:{{section.settings.background_bot}};–footer-text:{{section.settings.text}};–footer-title:{{section.settings.title}}}
.site-footer{background-color:var(–footer-bg);color:var(–footer-text);border-top:
1px
solid{{section.settings.border_headfooter}};line-height:1.8}.site-footer
a{color:var(–footer-text)}.site-footer a:focus,.site-footer
a:hover{color:var(–g-main)}.flex-footer{display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:start;-webkit-align-items:flex-start;-moz-align-items:flex-start;-ms-align-items:flex-start;-o-align-items:flex-start;align-items:flex-start;-webkit-flex-wrap:wrap;-moz-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0
-10px}.flex-footer .flex__item{-webkit-flex:1 1 100%;-moz-flex:1 1
100%;-ms-flex:1 1 100%;flex:1 1 100%;padding:0 10px}@media only screen and
(min-width:750px){.flex-footer .flex__item{-webkit-flex:1 1 20%;-moz-flex:1
1 20%;-ms-flex:1 1 20%;flex:1 1
20%}}.site-footer__section{padding-bottom:20px}.site-footer__copyright{padding:35px
0;background-color:var(–footer-bg-bot);display:flex;align-items:center;margin-top:30px}.site-footer__section-title{color:var(–footer-title);font-family:var(–g-font-2)}.site-footer__list{list-style:none}.site-footer__list-item{margin-bottom:10px}.site-footer__newsletter-label{display:block}.site-footer__newsletter-label
a{color:#ad2c34}.site-footer__newsletter-label
a:hover{color:#842228}.site-footer .social-icons
.icon{fill:currentColor}.site-footer .social-icons
.icon{margin-right:10px}.site-footer .social-icons
a{display:block;margin-bottom:10px}.site-footer .payment-icons{padding:5px
0}.site-footer .payment-icons li{padding:5px 0}
.site-footer__copyright{
border-top: 1px solid {{section.settings.border-copryright}};
}
.section-footer-email .social-icons li span{display: none;}
.section-footer-email .social-icons li i{color:var(–footer-title)}
.section-footer-email .social-icons li:not(:last-child){margin-right:
1.5rem;}
.site-footer__copyright a{color:var(–footer-text);}
@media(max-width:767px){
.site-footer__section,.site-footer__copyright{text-align:center;}
.site-footer__section .social-icons,.site-footer__section
.site-footer__section-title{text-align:center !important;}
}
{%- for block in section.blocks -%}
{%- case block.settings.width -%}
{%- when ‘16%’ -%}
{%- assign block_width = ‘col-lg-2 col-md-4’ -%}
{%- when ‘25%’ -%}
{%- assign block_width = ‘col-lg-3 col-md-6’ -%}
{%- when ‘33%’ -%}
{%- assign block_width = ‘col-lg-4 col-md-6’ -%}
{%- when ‘50%’ -%}
{%- assign block_width = ‘col-lg-6’ -%}
{%- when ‘66%’ -%}
{%- assign block_width = ‘col-lg-8 col-md-12’ -%}
{%- when ‘75%’ -%}
{%- assign block_width = ‘col-lg-9 col-md-12’ -%}
{%- when ‘100%’ -%}
{%- assign block_width = ‘col-12’ -%}
{%- endcase -%}
{%- case block.type -%}
{%- when ‘social’ -%}
{%- if block.settings.title != blank -%}
{{ block.settings.title | escape }}
{%- endif -%}
{%- if settings.social_facebook_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Facebook’ }}”>
{%- include ‘icon-facebook’ -%}
Fb
{%- endif -%}
{%- if settings.social_twitter_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Twitter’ }}”>
{%- include ‘icon-twitter’ -%}
Tw
{%- endif -%}
{%- if settings.social_pinterest_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Pinterest’ }}”>
{%- include ‘icon-pinterest’ -%}
Pin
{%- endif -%}
{%- if settings.social_instagram_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Instagram’ }}”>
{%- include ‘icon-instagram’ -%}
Ins
{%- endif -%}
{%- if settings.social_tumblr_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Tumblr’ }}”>
{%- include ‘icon-tumblr’ -%}
Tum
{%- endif -%}
{%- if settings.social_snapchat_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Snapchat’ }}”>
{%- include ‘icon-snapchat’ -%}
Snap
{%- endif -%}
{%- if settings.social_youtube_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘YouTube’ }}”>
{%- include ‘icon-youtube’ -%}
You
{%- endif -%}
{%- if settings.social_vimeo_link != blank -%}
- {%- include ‘icon-vimeo’ -%}
Vim
{%- endif -%}
{%- when ‘menu’ -%}
{%- if linklists[block.settings.link_list].links.size > 0 -%}
{{
linklists[block.settings.link_list].title }}
{%- for link in linklists[block.settings.link_list].links -%}
{%- endfor -%}
{%- endif -%}
{%- when ‘text’ -%}
{{ block.settings.title
| escape }}
{{ block.settings.text }}
{%- when ‘newsletter’ -%}
{%- if block.settings.title != blank -%}
{{ block.settings.title | escape }}
{%- endif -%}
{%- form ‘customer’ -%}
{{ form.errors | default_errors }}
{%- if form.posted_successfully? -%}
{{
‘general.newsletter_form.confirmation’ | t }}
{%- else -%}
{%- if block.settings.subheading != blank -%}
class=“site-footer__newsletter-label”>
{{ block.settings.subheading }}
{%- endif -%}
name=“contact[email]” id=“NewsletterEmail-{{ block.id }}”
class=“form-control mr-3” autocorrect=“off” autocapitalize=“off”>
name=“commit”>
{{ ‘general.newsletter_form.submit’ | t }}
{%- endif -%}
{%- endform -%}
{% if block.settings.enablesocial %}
{%- if settings.social_facebook_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Facebook’ }}”>
{%- include ‘icon-facebook’ -%}
Fb
{%- endif -%}
{%- if settings.social_twitter_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Twitter’ }}”>
{%- include ‘icon-twitter’ -%}
Tw
{%- endif -%}
{%- if settings.social_pinterest_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Pinterest’ }}”>
{%- include ‘icon-pinterest’ -%}
Pin
{%- endif -%}
{%- if settings.social_instagram_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Instagram’ }}”>
{%- include ‘icon-instagram’ -%}
Ins
{%- endif -%}
{%- if settings.social_tumblr_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Tumblr’ }}”>
{%- include ‘icon-tumblr’ -%}
Tum
{%- endif -%}
{%- if settings.social_snapchat_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘Snapchat’ }}”>
{%- include ‘icon-snapchat’ -%}
Snap
{%- endif -%}
{%- if settings.social_youtube_link != blank -%}
- title=“{{ ‘layout.footer.social_platform’ | t: name: shop.name, platform:
‘YouTube’ }}”>
{%- include ‘icon-youtube’ -%}
You
{%- endif -%}
{%- if settings.social_vimeo_link != blank -%}
- {%- include ‘icon-vimeo’ -%}
Vim
{%- endif -%}
{% endif %}
{%- endcase -%}
{%- endfor -%}
© {{ ‘now’ | date: “%Y” }}, {{ shop.name | link_to: ‘/’
}}. {% if section.settings.remove_powered %}{%else%} {{ powered_by_link
}}{%endif%}
{%- if section.settings.enablemethod -%}
data-src=“{{section.settings.imgpaymethod | img_url : ‘400x’}}” />
{%- endif -%}
{% schema %}
{
“name”: “Footer 1”,
“settings”: [
{
“type”: “checkbox”,
“id”: “fullwidth”,
“label”: “Full width”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “remove_powered”,
“label”: “Remove Powered Text”,
“default”: false
},
{
“type”: “color”,
“id”: “background”,
“label”: “Background”,
“default”: “#282828”
},
{
“type”: “color”,
“id”: “border_headfooter”,
“label”: “Border Top Head Footer”,
“default”: “#f8f8f8”
},
{
“type”: “color”,
“id”: “background_bot”,
“label”: “Background bottom”,
“default”: “#f8f8f8”
},
{
“type”: “color”,
“id”: “border-copryright”,
“label”: “Border Bottom Footer”,
“default”: “#f8f8f8”
},
{
“type”: “color”,
“id”: “text”,
“label”: “Text”,
“default”: “#fff”
},
{
“type”: “color”,
“id”: “title”,
“label”: “Title”,
“default”: “#000”
},
{
“type”: “checkbox”,
“id”: “enablemethod”,
“label”: “Enable Image Payment”,
“default”: true
},
{
“type”: “image_picker”,
“id”: “imgpaymethod”,
“label”: “Image Payment”
}
],
“blocks”: [
{
“type”: “social”,
“name”: “Social accounts”,
“limit”: 1,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “Heading”,
“default”: “Follow us”
},
{
“type”: “radio”,
“id”: “align”,
“label”: “Icon alignment”,
“options”: [
{
“value”: “left”,
“label”: “Left”
},
{
“value”: “center”,
“label”: “Center”
},
{
“value”: “right”,
“label”: “Right”
}
],
“default”: “left”
},
{
“type”: “select”,
“id”: “width”,
“label”: “Container width”,
“default”: “25%”,
“options”: [
{
“value”: “16%”,
“label”: “16%”
},
{
“value”: “25%”,
“label”: “25%”
},
{
“value”: “33%”,
“label”: “33%”
},
{
“value”: “50%”,
“label”: “50%”
},
{
“value”: “66%”,
“label”: “66%”
},
{
“value”: “75%”,
“label”: “75%”
},
{
“value”: “100%”,
“label”: “100%”
}
]
}
]
},
{
“type”: “menu”,
“name”: “Menu”,
“settings”: [
{
“id”: “link_list”,
“type”: “link_list”,
“label”: “Menu”,
“default”: “footer”,
“info”: “This menu won’t show dropdown items”
},
{
“type”: “select”,
“id”: “width”,
“label”: “Container width”,
“default”: “25%”,
“options”: [
{
“value”: “16%”,
“label”: “16%”
},
{
“value”: “25%”,
“label”: “25%”
},
{
“value”: “33%”,
“label”: “33%”
},
{
“value”: “50%”,
“label”: “50%”
},
{
“value”: “66%”,
“label”: “66%”
},
{
“value”: “75%”,
“label”: “75%”
},
{
“value”: “100%”,
“label”: “100%”
}
]
}
]
},
{
“type”: “text”,
“name”: “Text”,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “Heading”,
“default”: “Text column”
},
{
“type”: “textarea”,
“id”: “text”,
“label”: “Text”,
“default”: "
Share store details, promotions, or brand content
with your customers
"
},
{
“type”: “select”,
“id”: “width”,
“label”: “Container width”,
“default”: “25%”,
“options”: [
{
“value”: “16%”,
“label”: “16%”
},
{
“value”: “25%”,
“label”: “25%”
},
{
“value”: “33%”,
“label”: “33%”
},
{
“value”: “50%”,
“label”: “50%”
},
{
“value”: “66%”,
“label”: “66%”
},
{
“value”: “75%”,
“label”: “75%”
},
{
“value”: “100%”,
“label”: “100%”
}
]
}
]
},
{
“type”: “newsletter”,
“name”: “Newsletter”,
“limit”: 1,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “Heading”,
“default”: “Be in the know”
},
{
“type”: “richtext”,
“id”: “subheading”,
“label”: “Subheading”,
“default”: "
Promotions, new products and sales. Directly to
your inbox.
"
},
{
“type”: “checkbox”,
“id”: “enablesocial”,
“label”: “Enable Social”,
“default”: true
},
{
“type”: “select”,
“id”: “width”,
“label”: “Container width”,
“default”: “25%”,
“options”: [
{
“value”: “16%”,
“label”: “16%”
},
{
“value”: “25%”,
“label”: “25%”
},
{
“value”: “33%”,
“label”: “33%”
},
{
“value”: “50%”,
“label”: “50%”
},
{
“value”: “66%”,
“label”: “66%”
},
{
“value”: “75%”,
“label”: “75%”
},
{
“value”: “100%”,
“label”: “100%”
}
]
}
]
}
]
}
{% endschema %}