Siddarth Posted August 28, 2023 Share Posted August 28, 2023 Hi everyone, I was wondering if it is possible to have some custom code so that the weglot language selector is not a drop down but just a static list? What I want is the first image, and what I have is the second and third attached screenshots. Any help would be appreciated. Weglot said that I could do this by having JavaScript integration, but I'd like to avoid that if possible. Thank you! Link to comment
Siddarth Posted August 28, 2023 Author Share Posted August 28, 2023 Aba Gallery (squarespace.com) password:Bekkerman Link to comment
tuanphan Posted September 2, 2023 Share Posted September 2, 2023 You can add this to Website > Website Tools > Custom CSS @media screen and (max-width: 991px) { .header-menu-nav-folder { transform: translatex(0); will-change: transform; } div#multilingual-language-picker-mobile .header-menu-nav-folder-content { justify-content:end; } .header--menu-open .header-menu .header-menu-nav-list { display: flex; flex-direction: column; } .header-menu-nav-folder--active { flex-grow: 1; } #multilingual-language-picker-mobile .header-menu-controls { display: none; } .header-menu-actions.language-picker.language-picker-mobile { display: none; } .header-menu-nav-folder { min-height: unset; position: static; overflow: hidden !important; margin-top: -20px !important; } } Lesum 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment