FY_TOKYO Posted June 5, 2023 Posted June 5, 2023 (edited) Hello there. Our site is only available in English and Japanese, but switching between the two languages on the mobile screen isn't very clear because it requires a three-steps action. If possible, we would like to display language switches on individual screens, including the top screen, so that users can switch languages with a single action. If you have any advice on how to make language switching an easy display, I would appreciate your advice. Thank you. Edited June 6, 2023 by FY_TOKYO
tuanphan Posted June 8, 2023 Posted June 8, 2023 Add to Design > Custom CSS @media screen and (max-width:991px) { .header-actions.header-actions--right, .header .language-picker-desktop { display: flex !important; order: 3; } .header-title-nav-wrapper { flex: 1 0 30% !important; } } 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!)
FY_TOKYO Posted June 12, 2023 Author Posted June 12, 2023 (edited) Hi tuanphan, As always, thank you for your kind advice! I copied and pasted the code you gave me, and now I can see the language switch on the mobile screen. However, the English switches are displayed, but not the Japanese ones. The desktop view is fine, but it does not appear in the mobile view. If possible, I would like to display the language of the switch as "日本語" for Japanese, but if there is a way to do this, I would appreciate your advice. This may be a rudimentary question, but please forgive me. Edited June 12, 2023 by FY_TOKYO
tuanphan Posted June 13, 2023 Posted June 13, 2023 It looks like this code won't work. You can remove it, I will test again some other code 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!)
FY_TOKYO Posted June 19, 2023 Author Posted June 19, 2023 (edited) Yes, I understand. Thank you for your time! I would appreciate it if you could let me know what you find out. Edited June 19, 2023 by FY_TOKYO
FY_TOKYO Posted July 6, 2023 Author Posted July 6, 2023 I would be grateful for expert advice on a simple and easy way to switch between multilingual displays!
Jeremy2338 Posted September 28, 2023 Posted September 28, 2023 (edited) @tuanphan @FY_TOKYO Hi there! I'm facing the same problem and getting the same result as FY_TOKYO. Any possible solutions? Thanks much! Edited September 28, 2023 by Jeremy2338
FY_TOKYO Posted October 5, 2023 Author Posted October 5, 2023 Hi Jeremy2338, Thank you for contacting me. I apologize for the delay in responding. Unfortunately, there is still no solution. I would appreciate it if you could let me know what you find out.
abbiericher Posted October 9, 2023 Posted October 9, 2023 Hi there! I got a switch language button on a client's website. Everything is good on desktop, but on mobile, the switch language is huge. I would like to resize it to the same size of my menu navigation. Here's the code that I tried: @media screen and (max-width: 767px){ .header .language-picker-desktop { font-size: 20px; } } Link: https://scms-test.squarespace.com/ PW: freelance
tuanphan Posted October 12, 2023 Posted October 12, 2023 On 10/9/2023 at 8:30 PM, abbiericher said: Hi there! I got a switch language button on a client's website. Everything is good on desktop, but on mobile, the switch language is huge. I would like to resize it to the same size of my menu navigation. Here's the code that I tried: @media screen and (max-width: 767px){ .header .language-picker-desktop { font-size: 20px; } } Link: https://scms-test.squarespace.com/ PW: freelance You can add this to Website Tools (under Not Linked) > Custom CSS .header-menu-actions.language-picker.language-picker-mobile * { font-size: 18px !important; } 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!)
abbiericher Posted October 12, 2023 Posted October 12, 2023 Like always, thank you so much! Another question for you... It took 3 steps for the users to be able to switch language. Do you know how I can make the user experience faster with just one click? Eg: if the original language is French and the user is English, he would've just need to click on the hamburger menu and then select English instead of the actual procedure in 3 steps. Thanks a lot @tuanphan
tuanphan Posted October 15, 2023 Posted October 15, 2023 On 10/12/2023 at 9:13 PM, abbiericher said: Like always, thank you so much! Another question for you... It took 3 steps for the users to be able to switch language. Do you know how I can make the user experience faster with just one click? Eg: if the original language is French and the user is English, he would've just need to click on the hamburger menu and then select English instead of the actual procedure in 3 steps. Thanks a lot @tuanphan Use this CSS code @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; } } 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!)
abbiericher Posted October 17, 2023 Posted October 17, 2023 And how can I move the language selectors closer to the button?
tuanphan Posted October 19, 2023 Posted October 19, 2023 On 10/17/2023 at 10:55 PM, abbiericher said: And how can I move the language selectors closer to the button? Adjust this value 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!)
abbiericher Posted October 19, 2023 Posted October 19, 2023 5 hours ago, tuanphan said: Adjust this value I tried already... but nothing changes. Any further help on the question?
tuanphan Posted October 21, 2023 Posted October 21, 2023 Change this .header-menu-nav-folder { min-height: unset; position: static; overflow: hidden !important; margin-top: -20px !important; } to this .header-menu-nav-folder { min-height: unset; position: static; overflow: hidden !important; margin-top: -20px !important; } div#multilingual-language-picker-mobile { position: relative !important; top: -100px !important; } 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!)
cade Posted January 23 Posted January 23 Hi there I have the same Problem. Did you get a propper solution? Best Regard Claudio
tuanphan Posted January 25 Posted January 25 On 1/23/2024 at 10:53 PM, cade said: Hi there I have the same Problem. Did you get a propper solution? Best Regard Claudio What is your site url & What is problem? 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!)
aquariusgarcelon Posted March 1 Posted March 1 (edited) @tuanphan I would like to eliminate the mobile menu completely and have only the language switcher show up in the header. Ideally the switcher would look almost the same as it does on desktop. Would be great if it could be above or below the logo. Can you help? site url is www.caferama.mx Edited March 1 by aquariusgarcelon
tuanphan Posted March 3 Posted March 3 On 3/2/2024 at 1:33 AM, aquariusgarcelon said: @tuanphan I would like to eliminate the mobile menu completely and have only the language switcher show up in the header. Ideally the switcher would look almost the same as it does on desktop. Would be great if it could be above or below the logo. Can you help? site url is www.caferama.mx Try this code to Website > Website Tools > Custom CSS @media screen and (max-width:991px) { .header-display-desktop { display: block !important; position: absolute; right: 15vw; z-index: 99999999; } .header-display-desktop .header-title-nav-wrapper, .header-display-desktop .header-burger { display: none; } .header-dislay-desktop .header-actions.header-actions--right { display: flex !important; } div#multilingual-language-picker-desktop {} .header-display-desktop .header-actions.header-actions--right, .header-display-desktop div#multilingual-language-picker-desktop { display: flex !important; } .header-burger { visibility: hidden; } } 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!)
aquariusgarcelon Posted March 5 Posted March 5 @tuanphan how could I reduce the width of the language switcher dropdown? on desktop and mobile.
tuanphan Posted March 8 Posted March 8 On 3/6/2024 at 12:36 AM, aquariusgarcelon said: @tuanphan how could I reduce the width of the language switcher dropdown? on desktop and mobile. Add this under above code .language-picker-content { min-width: unset !important; } 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!)
dragoslazarin Posted October 8 Posted October 8 Hi, I would like to align the language selector on mobile to the left. I'm using the Weglot plugin. I'm trying to achieve the look on the right (see #2). My website is dragoslazarin.com, there's no password. Thank you!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment