Shopify themes, liquid, logos, and UX
Hello!
We just published our webshop in two different languages. To make it easier to see how to change the language, I would like to add a flag to the option instead of it being a text (see image) on the header.
We currently use theme Impact version 6.5.0.
I already tried at bunch of youtube videoes, but it seams not to work with ours theme. I've also tried some apps, but none of them have a suitable design for our site.
Solved! Go to the solution
This is an accepted solution.
I was able to fix it myself thanks to AI. I replaced text with flags in the language selector by uploading flag SVGs, modifying the localization-selector code to use <img> tags. Now it looks like this:
Hi! Yes I'm using the default language selector provided by the theme, but I think this adds flag to the market (if your selling across nations), this option is for me not available on the language selector. We have only Norway as a market, but norwegian and english as languages.
Hi @alfredbjornerod,
Please send the website link, I will check it for you
Hi @alfredbjornerod 👋 if you customizing the theme use the country object and image_url filter:
https://shopify.dev/docs/api/liquid/objects/country#country-rendering-a-flag-image
If you need deeper customization then contact me for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Good Hunting.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
I was able to fix it myself thanks to AI. I replaced text with flags in the language selector by uploading flag SVGs, modifying the localization-selector code to use <img> tags. Now it looks like this:
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025