Hey all helpers,
I’ve been trying to move the language selector from footer to header, coping the code from footer-centered.liquid to header-centered.liquid under
Hi @Adishtaim ,
Go to the Edit code section and search for the theme.liquid file then add the following js snippet:
<script>
setTimeout(() => {
let elementToInsertBefore = document.querySelector(".mobile-icons .header__link.action-area__link")
let newElement = document.querySelector(".localization.footer-menu__disclosure.is-hidden-medium.is-hidden-mobile-only .selectors-form__item.selectors-form__locale .disclosure.disclosure--i18n.disclosure-text-style-uppercase");
elementToInsertBefore.parentNode.insertBefore(newElement, elementToInsertBefore);
}, 1000)
</script>
Result:

1 Like
Hey! Thank you so much for replying 
The button is there but the function doesn’t work (desktop and mobile) , the language doesn’t change.
Any words of wisdom on how to fix this?
Thanks again, really appreciate your help.