Ok this seems to work, but...
The alignment is off
And by default the menu is open 🙂
Any ideas?
<script>
(function(){
window.addEventListener('DOMContentLoaded', () => {
const switchBtn = document.querySelector('#multilingual-language-picker-desktop');
if(switchBtn) {
const switchBtnDes = switchBtn.cloneNode(true);
switchBtnDes.classList.add('language-desktop');
document.querySelector('.header-nav-list').appendChild(switchBtnDes);
}
});
})()
</script>
<style>
#multilingual-language-picker-desktop:not(.language-desktop) {
display: none;
}
</style>