Why isn't the Klarna logo showing in my footer?

Hi Ketan,

Can you help me with integrating the Klarna logo in my footer?

Thanks!

@Kennect
can you please share more details

Yes, yesterday I integrated Klarna via an API. I want to place the Klarna icon in my footer, next to the regular Shopify Payments icons. This is possible, but with some customization of the Footer.liquid. I would like some assistance from you.

Hope you can help me!

@KetanKumar I need your help too can I have your contact?

Dear @KetanKumar @could you please help me setting up klarna logo on the footer among payment methods?

My website: www.princessjewelry.it

@marcotanzi94 thanks for its url where did you added this code ? where do you want this logo?

Dear Kumar, I want the logo with other shopify payment method logo. I use klarna with Mollie and can not see the logo

@KetanKumar are you there?

@marcotanzi94 yes how can i more help you?

I can not see Klarna logo in the footer. www.princessjewelry.it I use Mollie with Klarna

@marcotanzi94 can you please provide your footer code so i will check and update you

can you also help me?? :slightly_smiling_face:

@rpm2 oh sorry for that issue can you please share your store url so i will check and update you.

hello! thankyou so much. is this: temacreations.pt

@rpm2 thanks for url can you please share footer section code

this one :slightly_smiling_face:

#shopify-section-{{ section.id }} { --footer-content-justify-items: {% if section.settings.blocks.size <= 2 %}start{% else %}space-between{% endif %}; }

{%- assign color_scheme_hash = section.settings.color_scheme.settings.background_gradient | default: section.settings.color_scheme.settings.background | md5 -%}

{%- comment -%} ------------------------------------------------------------------------------------------------------------------ FOOTER BLOCKS (MAIN CONTENT) ------------------------------------------------------------------------------------------------------------------ {%- endcomment -%}

{%- if section.blocks.size > 0 -%}

{%- for block in section.blocks -%} {%- capture block_content -%} {%- case block.type -%} {%- when 'image' -%} {%- if block.settings.image != blank -%} {%- capture sizes -%}{{ block.settings.image_width }}px{%- endcapture -%} {%- capture widths -%}{{ block.settings.image_width }}, {{ block.settings.image_width | times: 2 | at_most: block.settings.image.width }}{%- endcapture -%} {%- capture style -%}--image-max-width: {{ block.settings.image_width }}px{%- endcapture -%}

{%- if block.settings.link != blank -%}

{{- block.settings.image | image_url: width: block.settings.image.width | image_tag: sizes: sizes, widths: widths, style: style, class: ‘constrained-image’ -}}

{%- else -%}
{{- block.settings.image | image_url: width: block.settings.image.width | image_tag: sizes: sizes, widths: widths, style: style, class: ‘constrained-image’ -}}
{%- endif -%}
{%- endif -%}

{%- when ‘text’ -%}
{%- if block.settings.title != blank or block.settings.content != blank or shop.features.follow_on_shop? and block.settings.enable_follow_on_shop -%}

{%- if block.settings.title != blank -%}

{{ block.settings.title }}

{%- endif -%}

{%- if block.settings.content != blank -%}

{{- block.settings.content -}}
{%- endif -%}

{%- if shop.features.follow_on_shop? and block.settings.enable_follow_on_shop -%}

{{- shop | login_button: action: 'follow' -}}
{%- endif -%}
{%- endif -%}

{%- when ‘links’ -%}
{%- assign menu = block.settings.menu -%}

{%- if menu != blank and menu.links.size > 0 -%}

{%- if block.settings.show_menu_title != blank -%}

{{ block.settings.menu_title | default: menu.title }}

{%- endif -%}
{%- endif -%}

{%- when ‘newsletter’ -%}

{%- if block.settings.title != blank -%}

{{ block.settings.title }}

{%- endif -%}

{%- if block.settings.content != blank -%}

{{- block.settings.content -}}
{%- endif -%}

{%- assign newsletter_form_id = ‘newsletter-form-’ | append: section.id -%}

{%- form ‘customer’, id: newsletter_form_id, class: ‘form’ -%}
{%- if form.posted_successfully? -%}
{%- assign success_message = ‘general.newsletter.subscribed_successfully’ | t -%}
{%- render ‘banner’, content: success_message, status: ‘success’ -%}
{%- else -%}
{%- if form.errors -%}
{%- capture error_message -%}{{ form.errors.translated_fields[‘email’] }} {{ form.errors.messages[‘email’] }}{%- endcapture -%}
{%- render ‘banner’, content: error_message, status: ‘error’ -%}
{%- endif -%}

{%- assign input_label = ‘general.newsletter.email’ | t -%}
{%- render ‘input’, name: ‘contact[email]’, label: input_label, type: ‘email’, required: true, autocomplete: ‘email’, enterkeyhint: ‘send’ -%}

{%- assign button_label = 'general.newsletter.subscribe' | t -%} {%- render 'button', type: 'submit', content: button_label, background: block.settings.button_background, text_color: block.settings.button_text_color -%}
{%- endif -%} {%- endform -%}

{%- endcase -%}
{%- endcapture -%}

{%- if block_content != blank -%}

{{- block_content -}}
{%- endif -%} {%- endfor -%}
{%- endif -%}

{%- comment -%}

FOOTER SOCIAL MEDIA

{%- endcomment -%}

{%- if section.settings.show_social_media -%}
{%- render ‘social-media’, layout: ‘list’ -%}
{%- endif -%}

{%- comment -%}

FOOTER ASIDE (COPYRIGHT + LOCALIZATION SELECTORS + PAYMENT METHODS)

{%- endcomment -%}

{%- if section.settings.show_country_selector and localization.available_countries.size > 1 -%} {%- assign show_country_selector = true -%} {%- endif -%}

{%- if section.settings.show_locale_selector and localization.available_languages.size > 1 -%}
{%- assign show_locale_selector = true -%}
{%- endif -%}

{%- if show_country_selector or show_locale_selector -%}

{%- if show_country_selector -%} {%- render 'localization-selector', type: 'country', placement: 'top-start', show_country_name: section.settings.show_country_name, show_country_flag: section.settings.show_country_flag -%} {%- endif -%}

{%- if show_locale_selector -%}
{%- render ‘localization-selector’, type: ‘locale’, placement: ‘top-start’ -%}
{%- endif -%}

{%- endif -%}

© {{ 'now' | date: '%Y' }} - {{ shop.name }} Developed by Bag it

{%- if section.settings.show_payment_icons and shop.enabled_payment_types.size > 0 -%}

    {%- for type in shop.enabled_payment_types -%}
  • {{- type | payment_type_svg_tag -}}
  • {%- endfor -%}
{%- endif -%}

{% schema %}
{
“name”: “t:sections.footer.name”,
“class”: “shopify-section–footer”,
“tag”: “footer”,
“max_blocks”: 6,
“settings”: [
{
“type”: “color_scheme”,
“id”: “color_scheme”,
“label”: “t:global.colors.scheme”,
“default”: “scheme-2”
},
{
“type”: “checkbox”,
“id”: “separate_section_with_border”,
“label”: “t:global.section.separate_section_with_border”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “show_social_media”,
“label”: “t:sections.footer.show_social_media”,
“info”: “t:sections.footer.show_social_media_info”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_payment_icons”,
“label”: “t:sections.footer.show_payment_icons”,
“default”: true
},
{
“type”: “header”,
“content”: “t:global.localization.country_region_selector_category”,
“info”: “t:global.localization.country_region_selector_category_info”
},
{
“type”: “checkbox”,
“id”: “show_country_selector”,
“label”: “t:global.localization.show_country_region_selector”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_country_name”,
“label”: “t:global.localization.show_country_name”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_country_flag”,
“label”: “t:global.localization.show_country_flag”,
“default”: true
},
{
“type”: “header”,
“content”: “t:global.localization.language_selector_category”,
“info”: “t:global.localization.language_selector_category_info”
},
{
“type”: “checkbox”,
“id”: “show_locale_selector”,
“label”: “t:global.localization.show_locale_selector”,
“default”: true
}
],
“blocks”: [
{
“type”: “image”,
“name”: “t:sections.footer.blocks.image.name”,
“settings”: [
{
“type”: “image_picker”,
“id”: “image”,
“label”: “t:global.image.image”,
“info”: “t:sections.footer.blocks.image.image_size_recommendation”
},
{
“type”: “range”,
“id”: “image_width”,
“min”: 50,
“max”: 300,
“step”: 10,
“unit”: “px”,
“label”: “t:global.image.width”,
“default”: 150
},
{
“type”: “url”,
“id”: “link”,
“label”: “t:global.text.link”
}
]
},
{
“type”: “text”,
“name”: “t:sections.footer.blocks.text.name”,
“settings”: [
{
“type”: “inline_richtext”,
“id”: “title”,
“label”: “t:global.text.heading”,
“default”: “About our store”
},
{
“type”: “richtext”,
“id”: “content”,
“label”: “t:global.text.content”,
“default”: “

Use this text area to tell your customers about your brand and vision. You can change it in the theme editor.


},
{
“type”: “checkbox”,
“id”: “enable_follow_on_shop”,
“label”: “t:sections.footer.blocks.text.show_follow_on_shop”,
“info”: “t:sections.footer.blocks.text.show_follow_on_shop_info”,
“default”: true
}
]
},
{
“type”: “links”,
“name”: “t:sections.footer.blocks.links.name”,
“settings”: [
{
“type”: “link_list”,
“id”: “menu”,
“label”: “t:sections.footer.blocks.links.menu”,
“info”: “t:sections.footer.blocks.links.menu_info”,
“default”: “footer”
},
{
“type”: “checkbox”,
“id”: “show_menu_title”,
“label”: “t:sections.footer.blocks.links.show_menu_title”,
“default”: true
},
{
“type”: “inline_richtext”,
“id”: “menu_title”,
“label”: “t:sections.footer.blocks.links.menu_title”,
“info”: “t:sections.footer.blocks.links.menu_title_info”
}
]
},
{
“type”: “newsletter”,
“name”: “t:sections.footer.blocks.newsletter.name”,
“limit”: 1,
“settings”: [
{
“type”: “paragraph”,
“content”: “t:sections.footer.blocks.newsletter.newsletter_info”
},
{
“type”: “inline_richtext”,
“id”: “title”,
“label”: “t:global.text.heading”,
“default”: “Newsletter”
},
{
“type”: “richtext”,
“id”: “content”,
“label”: “t:global.text.content”,
“default”: “

Sign up to our newsletter to receive exclusive offers.


},
{
“type”: “color”,
“id”: “button_background”,
“label”: “t:global.colors.button_background”
},
{
“type”: “color”,
“id”: “button_text_color”,
“label”: “t:global.colors.button_text”
}
]
}
]
}
{% endschema %}

@rpm2 thanks for cove i have update that code can you please add your footer code update


{%- assign color_scheme_hash = section.settings.color_scheme.settings.background_gradient | default: section.settings.color_scheme.settings.background | md5 -%}

{%- comment -%}
------------------------------------------------------------------------------------------------------------------
FOOTER BLOCKS (MAIN CONTENT)
------------------------------------------------------------------------------------------------------------------
{%- endcomment -%}

{%- if section.blocks.size > 0 -%}

{%- for block in section.blocks -%}
{%- capture block_content -%}
{%- case block.type -%}
{%- when 'image' -%}
{%- if block.settings.image != blank -%}
{%- capture sizes -%}{{ block.settings.image_width }}px{%- endcapture -%}
{%- capture widths -%}{{ block.settings.image_width }}, {{ block.settings.image_width | times: 2 | at_most: block.settings.image.width }}{%- endcapture -%}
{%- capture style -%}--image-max-width: {{ block.settings.image_width }}px{%- endcapture -%}

{%- if block.settings.link != blank -%}

{{- block.settings.image | image_url: width: block.settings.image.width | image_tag: sizes: sizes, widths: widths, style: style, class: 'constrained-image' -}}

{%- else -%}
{{- block.settings.image | image_url: width: block.settings.image.width | image_tag: sizes: sizes, widths: widths, style: style, class: 'constrained-image' -}}
{%- endif -%}
{%- endif -%}

{%- when 'text' -%}
{%- if block.settings.title != blank or block.settings.content != blank or shop.features.follow_on_shop? and block.settings.enable_follow_on_shop -%}

{%- if block.settings.title != blank -%}

{{ block.settings.title }}

{%- endif -%}

{%- if block.settings.content != blank -%}

{{- block.settings.content -}}

{%- endif -%}

{%- if shop.features.follow_on_shop? and block.settings.enable_follow_on_shop -%}

{{- shop | login_button: action: 'follow' -}}

{%- endif -%}

{%- endif -%}

{%- when 'links' -%}
{%- assign menu = block.settings.menu -%}

{%- if menu != blank and menu.links.size > 0 -%}

{%- if block.settings.show_menu_title != blank -%}

{{ block.settings.menu_title | default: menu.title }}

{%- endif -%}

{%- for link in menu.links -%}
- {{ link.title }}

{%- endfor -%}

{%- endif -%}

{%- when 'newsletter' -%}

{%- if block.settings.title != blank -%}

{{ block.settings.title }}

{%- endif -%}

{%- if block.settings.content != blank -%}

{{- block.settings.content -}}

{%- endif -%}

{%- assign newsletter_form_id = 'newsletter-form-' | append: section.id -%}

{%- form 'customer', id: newsletter_form_id, class: 'form' -%}
{%- if form.posted_successfully? -%}
{%- assign success_message = 'general.newsletter.subscribed_successfully' | t -%}
{%- render 'banner', content: success_message, status: 'success' -%}
{%- else -%}
{%- if form.errors -%}
{%- capture error_message -%}{{ form.errors.translated_fields['email'] }} {{ form.errors.messages['email'] }}{%- endcapture -%}
{%- render 'banner', content: error_message, status: 'error' -%}
{%- endif -%}

{%- assign input_label = 'general.newsletter.email' | t -%}
{%- render 'input', name: 'contact[email]', label: input_label, type: 'email', required: true, autocomplete: 'email', enterkeyhint: 'send' -%}

{%- assign button_label = 'general.newsletter.subscribe' | t -%}
{%- render 'button', type: 'submit', content: button_label, background: block.settings.button_background, text_color: block.settings.button_text_color -%}

{%- endif -%}
{%- endform -%}

{%- endcase -%}
{%- endcapture -%}

{%- if block_content != blank -%}

{{- block_content -}}

{%- endif -%}
{%- endfor -%}

{%- endif -%}

{%- comment -%}
------------------------------------------------------------------------------------------------------------------
FOOTER SOCIAL MEDIA
------------------------------------------------------------------------------------------------------------------
{%- endcomment -%}

{%- if section.settings.show_social_media -%}
{%- render 'social-media', layout: 'list' -%}
{%- endif -%}

{%- comment -%}
------------------------------------------------------------------------------------------------------------------
FOOTER ASIDE (COPYRIGHT + LOCALIZATION SELECTORS + PAYMENT METHODS)
------------------------------------------------------------------------------------------------------------------
{%- endcomment -%}

{%- if section.settings.show_country_selector and localization.available_countries.size > 1 -%}
{%- assign show_country_selector = true -%}
{%- endif -%}

{%- if section.settings.show_locale_selector and localization.available_languages.size > 1 -%}
{%- assign show_locale_selector = true -%}
{%- endif -%}

{%- if show_country_selector or show_locale_selector -%}

{%- if show_country_selector -%}
{%- render 'localization-selector', type: 'country', placement: 'top-start', show_country_name: section.settings.show_country_name, show_country_flag: section.settings.show_country_flag -%}
{%- endif -%}

{%- if show_locale_selector -%}
{%- render 'localization-selector', type: 'locale', placement: 'top-start' -%}
{%- endif -%}

{%- endif -%}

© {{ 'now' | date: '%Y' }} - {{ shop.name }} [Developed by Bag it](https://www.bagit-digital.com)

{%- if section.settings.show_payment_icons and shop.enabled_payment_types.size > 0 -%}

- ![{{ shop.name }}|800x445](upload://3FkiTSDlSMEsY3vLqSADcARSrCs.svg)

  {%- for type in shop.enabled_payment_types -%}

- {{- type | payment_type_svg_tag -}}
{%- endfor -%}

{%- endif -%}

{% schema %}
{
"name": "t:sections.footer.name",
"class": "shopify-section--footer",
"tag": "footer",
"max_blocks": 6,
"settings": [
{
"type": "color_scheme",
"id": "color_scheme",
"label": "t:global.colors.scheme",
"default": "scheme-2"
},
{
"type": "checkbox",
"id": "separate_section_with_border",
"label": "t:global.section.separate_section_with_border",
"default": false
},
{
"type": "checkbox",
"id": "show_social_media",
"label": "t:sections.footer.show_social_media",
"info": "t:sections.footer.show_social_media_info",
"default": true
},
{
"type": "checkbox",
"id": "show_payment_icons",
"label": "t:sections.footer.show_payment_icons",
"default": true
},
{
"type": "header",
"content": "t:global.localization.country_region_selector_category",
"info": "t:global.localization.country_region_selector_category_info"
},
{
"type": "checkbox",
"id": "show_country_selector",
"label": "t:global.localization.show_country_region_selector",
"default": true
},
{
"type": "checkbox",
"id": "show_country_name",
"label": "t:global.localization.show_country_name",
"default": true
},
{
"type": "checkbox",
"id": "show_country_flag",
"label": "t:global.localization.show_country_flag",
"default": true
},
{
"type": "header",
"content": "t:global.localization.language_selector_category",
"info": "t:global.localization.language_selector_category_info"
},
{
"type": "checkbox",
"id": "show_locale_selector",
"label": "t:global.localization.show_locale_selector",
"default": true
}
],
"blocks": [
{
"type": "image",
"name": "t:sections.footer.blocks.image.name",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "t:global.image.image",
"info": "t:sections.footer.blocks.image.image_size_recommendation"
},
{
"type": "range",
"id": "image_width",
"min": 50,
"max": 300,
"step": 10,
"unit": "px",
"label": "t:global.image.width",
"default": 150
},
{
"type": "url",
"id": "link",
"label": "t:global.text.link"
}
]
},
{
"type": "text",
"name": "t:sections.footer.blocks.text.name",
"settings": [
{
"type": "inline_richtext",
"id": "title",
"label": "t:global.text.heading",
"default": "About our store"
},
{
"type": "richtext",
"id": "content",
"label": "t:global.text.content",
"default": "

Use this text area to tell your customers about your brand and vision. You can change it in the theme editor.

"
},
{
"type": "checkbox",
"id": "enable_follow_on_shop",
"label": "t:sections.footer.blocks.text.show_follow_on_shop",
"info": "t:sections.footer.blocks.text.show_follow_on_shop_info",
"default": true
}
]
},
{
"type": "links",
"name": "t:sections.footer.blocks.links.name",
"settings": [
{
"type": "link_list",
"id": "menu",
"label": "t:sections.footer.blocks.links.menu",
"info": "t:sections.footer.blocks.links.menu_info",
"default": "footer"
},
{
"type": "checkbox",
"id": "show_menu_title",
"label": "t:sections.footer.blocks.links.show_menu_title",
"default": true
},
{
"type": "inline_richtext",
"id": "menu_title",
"label": "t:sections.footer.blocks.links.menu_title",
"info": "t:sections.footer.blocks.links.menu_title_info"
}
]
},
{
"type": "newsletter",
"name": "t:sections.footer.blocks.newsletter.name",
"limit": 1,
"settings": [
{
"type": "paragraph",
"content": "t:sections.footer.blocks.newsletter.newsletter_info"
},
{
"type": "inline_richtext",
"id": "title",
"label": "t:global.text.heading",
"default": "Newsletter"
},
{
"type": "richtext",
"id": "content",
"label": "t:global.text.content",
"default": "

Sign up to our newsletter to receive exclusive offers.

"
},
{
"type": "color",
"id": "button_background",
"label": "t:global.colors.button_background"
},
{
"type": "color",
"id": "button_text_color",
"label": "t:global.colors.button_text"
}
]
}
]
}
{% endschema %}

thank you so much!!! and could you help me with other question? changing the powered by shopify link into Viola theme? If you give me your

email we can contact for more things :slightly_smiling_face:

@rpm2 yes its my pleasure

you have contact me here Email: bamaniyaketan.sky@gmail.com
WhatsApp: +918735023350
Skype: bamaniya.sky