Galleria - add flag image in top header or announcement bar to change to different country site

I would like to know how to add a header bar (or add it to the announcement bar) a flag image to switch sites between country sites (we have 2 different sites)

thanks!

John

@ethicalhost

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

great thanks!

its deckshoppe.ca

@ethicalhost

thanks for store url

yes it possible to custom code but i will try it can you please share your announcement bar code and image url and different store url

sprry for the delay

announcement bar

{% schema %}
{
ā€œnameā€: ā€œSection nameā€,
ā€œsettingsā€:
}
{% endschema %}

{% stylesheet %}
{% endstylesheet %}

{% javascript %}
{% endjavascript %}

different store URL deckshoppe.com

dont have the iamge yet, just put a placeholder in the example.

thanks!

John

@ethicalhost

https://shopify.github.io/liquid-code-examples/example/announcement-bar

try this code

that code doesnt show anything related to linking an image? how do i make a image link and how will it affect the other info in my announcement bar and it should show up on ALL pages, not just home page?

thanks!

this allow theme setting are you check?

yea that doesnt change anything to the announcement bar options. I should add i already have an announcement, but want to ALSO add a flag switcher to change sites/languages.

perhaps it would be easier to add to the header (logo nav area?)

anyone have any idea how to make this work?

@ethicalhost

sorry for lare here

yes its possible to customization code

im sure it is thanks! i was wondering if anyone has ideas how to do it?

@ethicalhost

can you please share code so i will check if minor change so i will update code and let you know