Ecommerce Shopify WordPress Discussion

How can I make language selector work on header instead of footer on Shopify?

I've been trying to move the language selector from footer to header. I'm almost there, but it's still not working. I tried using js snippet on theme.liquid which made the button show up but the function doesn't work. Can anyone help me solve this? Thanks in advance! url is enter image description here I used this code and insert it inside the <head> tag. <script> setTimeout(() => { let elementToInsertBefore = document.querySelector(".mobile-icons .header__link.action-area__link") let newElement = document.querySelector(" .selectors-form__item.selectors-form__locale .disclosure.disclosure--i18n.disclosure-text-style-uppercase"); elementToInsertBefore.parentNode.insertBefore(newElement, elementToInsertBefore); }, 1000) </script> The button is there but doesn't work. Am I missing something?
just apply this simple css to make the selector into the top left of the page .disclosure--i18n { position: absolute; display: block; top: 96px; left: 113px; } .disclosure__list-wrap { transform: translate(18px, 142px); }

January 7, 2024

TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.